Replies: 1 comment
-
I don't think there is a direct way to do this. However, changes are grouped by a property called
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone managed to batch or group changes?
Lets say I have 5 changes which happen in sequence, I would like to group them somehow so that when I press undo all 5 are done at the same time, same for redo.
I couldn't figure out anything using the UndoManager, guess I'll have to extend it somehow.
Another approach I thought of was storing the whole editor state after each change, and manage my own stack of changes, but seems very expensive if the there are lots of components.
Beta Was this translation helpful? Give feedback.
All reactions