Skip to content
This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.

Broken user separation for undo/redo #89

@stippi

Description

@stippi

Steps to reproduce in the demo:

  • Insert text into the editor of the first user
  • Insert text into the editor of another user
  • Switch focus back to the editor of the first user
  • Invoke "undo", for example via keyboard shortcut

Observed behavior:
The text inserted by the second user is removed, but from within the editor of the first user.

Expected behavior:
Only the text inserted by the first user should be removed. The text inserted later by the second user should be left intact.


From my understanding, the editor is constructed with withHistory(). It is notable that Y.js itself also provides a solution for a user-separated undo history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions