Class UndoRedoHistory

Accessors

Methods

  • Adds the given command to this and applies it to the editor.

    Parameters

    • command: Command
    • apply: boolean = true

    Returns void

  • Remove the last command from this' undo stack and apply it.

    Returns void | Promise<void>

OpenSource licenses