UndoManager
Undo/redo manager providing YJS-based undo and redo functionality, with support for stack management and history clearing.
Properties
Methods
constructor
Constructor
Definition:
Parameters:
undo
Undoes the last modification.
Definition:
Returns: boolean
redo
Redoes an undone modification.
Definition:
Returns: boolean
canUndo
Checks whether there are operations that can be undone.
Definition:
Returns: boolean
canRedo
Checks whether there are operations that can be redone.
Definition:
Returns: boolean
clear
Clears the history.
Definition:
Returns: void
Parameters: