Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for insertEntity API

Hierarchy

  • InsertEntityOptions

Index

Properties

Optional contentNode

contentNode: Node

Content node of the entity. If not passed, an empty entity will be created

Optional focusAfterEntity

focusAfterEntity: boolean

Whether move focus after entity after insert

Optional initialEntityState

initialEntityState: string

Initial entity state, this is used when restore an undo snapshot to right after entity is inserted, this state will be used for set initial state of entity

Optional skipUndoSnapshot

skipUndoSnapshot: boolean

Whether skip adding an undo snapshot around

Optional wrapperDisplay

wrapperDisplay: "block" | "inline" | "none" | "inline-block"

"Display" value of the entity wrapper. By default, block entity will have no display, inline entity will have display: inline-block

Generated using TypeDoc