Options
All
  • Public
  • Public/Protected
  • All
Menu

Shared options for insertNode related APIs

Hierarchy

Index

Properties

Optional insertOnNewLine

insertOnNewLine: boolean

Boolean flag for inserting the content onto a new line. No-op for ContentPosition.Outside

Optional insertToRegionRoot

insertToRegionRoot: boolean

Boolean flag for inserting the content onto root node of current region. If current position is not at root of region, break parent node until insert can happen at root of region. This option only takes effect when insertOnNewLine is true, otherwise it will be ignored.

Optional replaceSelection

replaceSelection: boolean

Boolean flag for inserting the content onto a new line. No-op for ContentPosition.Begin, End, and Outside

Optional updateCursor

updateCursor: boolean

Whether need to update cursor.

Generated using TypeDoc