tinymce.UndoManager

This class handles the undo/redo history levels for the editor. Since the built-in undo/redo has major drawbacks a custom one was needed.

Methods

Method Defined By
Adds a new undo level/snapshot to the undo list
tinymce.UndoManager
Stores away a bookmark to be used when performing an undo action so that the selection is before the
tinymce.UndoManager
Removes all undo levels
tinymce.UndoManager
Returns true/false if the undo manager has any redo levels
tinymce.UndoManager
Returns true/false if the undo manager has any undo levels
tinymce.UndoManager
Redoes the last action
tinymce.UndoManager
Executes the specified function in an undo transation
tinymce.UndoManager
Undoes the last action
tinymce.UndoManager