Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yjs v13.6.13 breaks y-utility/y-multidoc-undomanager #645

Open
acnebs opened this issue May 17, 2024 · 0 comments
Open

yjs v13.6.13 breaks y-utility/y-multidoc-undomanager #645

acnebs opened this issue May 17, 2024 · 0 comments
Assignees
Labels

Comments

@acnebs
Copy link

acnebs commented May 17, 2024

Describe the bug
Changes made in yjs v13.6.13 break the YMultiDocUndoManager found in y-utility.

I haven't had time to look through the code of each to identify the cause more directly, but wanted to go ahead and make sure this issue was known.

To Reproduce
Steps to reproduce the behavior:

  1. Install yjs > 13.6.12
  2. Install and use latest YMultiDocUndoManager
  3. Trigger an undo from YMultiDocUndoManager
  4. The entire undo stack is undone and wiped, not the last stack item

Expected behavior
Triggering YMultiDocUndoManager.undo should undo a single stack item, not the entire stack.

Environment Information

  • yjs v13.6.13
  • y-utility v0.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants