[x] Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
[x] Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
Describe the bug
Redo no longer works in 1.1.0. UndoManager.afterTransactionHandler does not run when performing the undo because captureTransaction returns false. Since afterTransactionHandler does not run, the redoStack never gets filled with the undo operation.
Checklist
Describe the bug Redo no longer works in 1.1.0.
UndoManager.afterTransactionHandler
does not run when performing the undo becausecaptureTransaction
returns false. SinceafterTransactionHandler
does not run, theredoStack
never gets filled with the undo operation.To Reproduce Steps to reproduce the behavior:
testAddToHistory
to also testredo
:Expected behavior Test Passes
Environment Information