search

goog.editor.plugins.UndoRedo

Provided By
Extends
All Implemented Interfaces

Encapsulates undo/redo logic using a custom undo stack (i.e. not browser built-in). Browser built-in undo stacks are too flaky (e.g. IE's gets clobbered on DOM modifications). Also, this allows interleaving non-editing commands into the undo stack via the UndoRedoManager.

new UndoRedo( opt_manager )

Parameters
opt_manager(goog.editor.plugins.UndoRedoManager|null)=

An undo redo manager to be used by this plugin. If none is provided one is created.

Instance Methods

Instance Properties

Classes

Enumerations