Skip to content

Undo broken in collaborative editing session #4601

Description

@mejo-

Describe the bug

In collaborative editing sessions with more than one client, undo doesn't work anymore. Undoing your own changes only works as long as no remote changes got applied to your document state.

In cases where undo doesn't work, instead the cursor jumps to the end of the document.

To Reproduce
Steps to reproduce the behavior:

  1. Open a document with two sessions (can be same user)
  2. Do a change in one session, use undo function, see it doing its thing
  3. Do a change in one session, do a second change in second session, try undo in first session
  4. Undo doesn't work as expected

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    ☑️ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions