I’m adding new Y.XmlFragments to a Y.Doc as a user creates new notes. I’d like to add these to a single Y.UndoManager which is tracking all changes across these notes.
Right now the scope for UndoManager is fixed at instantiation. It would be great to have,
removeScope methods to adjust these as needed as new notes are created or deleted.
Without methods like this, it seems like the closest thing to make the above work would be to have a custom undo manager that tracks several separate undo managers and their stacks in one place.