Use the history package for undo, redo, and history batch state.
This sub-library tracks canonical document changes and state-field effects so editors can undo and redo user actions.
On This Page