You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
YMultiDocUndoManager clears the entire undo stack instead of popping one when it's used together with yjs version 13.6.13 or any version above that.
To Reproduce
Steps to reproduce the behavior:
Install yjs version 13.6.13 or above
Install y-utility
Create a YDoc and instantiate a YMultiDocUndoManager
Do some operations on the doc and try undoing.
Observe that all operations are undoed instead of the last one
Expected behavior
Only last operation is undoed instead of all operations.
Environment Information
Browser [e.g. Chrome]
yjs v13.6.18
y-utility v0.1.4
This issue is a blocker for my project.
The text was updated successfully, but these errors were encountered:
Describe the bug
YMultiDocUndoManager clears the entire undo stack instead of popping one when it's used together with yjs version 13.6.13 or any version above that.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only last operation is undoed instead of all operations.
Environment Information
The text was updated successfully, but these errors were encountered: