TLEditorRunOptions

See source code
Table of contents

Extends TLHistoryBatchOptions.

Options for Editor.run.

interface TLEditorRunOptions extends TLHistoryBatchOptions {}

Properties

history

optional

How should this change interact with the history stack?

  • record: Add to the undo stack and clear the redo stack
  • record-preserveRedoStack: Add to the undo stack but do not clear the redo stack
  • ignore: Do not add to the undo stack or the redo stack
history?: 'ignore' | 'record-preserveRedoStack' | 'record'

ignoreShapeLock

optional
ignoreShapeLock?: boolean

Prev
TLEditorOptions
Next
TLEditorSnapshot