Closed websiddu closed 1 year ago
Yes @websiddu ! You should be able to use the regular Yjs undomanager, e.g.:
const val = getYjsValuestore.value)
const undoManager = new Y.UndoManager(val)
// Do stuff to val (Let undoManager capture the updates)
undoManager.undo() // Revert the captured updates
Does this answer your question?
Is there a way to do undo/redo using Synced Store?