Table of contents

Extends TLHistoryBatchOptions.

Options for Editor.run.

interface TLEditorRunOptions extends TLHistoryBatchOptions {}

Properties

history

from TLHistoryBatchOptions

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

ignoreShapeLock?: boolean

TLEditorOptionsTLEditorSnapshot