tinymce.UndoManager

wrong

You don't have permissions to add new pages

You need to be an Wiki Member to be able to edit. Login and request access.

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

Events

Event Defined By
This event will fire before a new undo level is added to the undo manager
tinymce.UndoManager
This event will fire each time a new undo level is added to the undo manager.
tinymce.UndoManager
This event will fire when the user make an undo of a change.
tinymce.UndoManager
This event will fire when the user make an redo of a change.
tinymce.UndoManager

Methods

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