Skip to content

Type Editor


Type Editor / @type-editor/state / selection/SelectionTypeEnum / SelectionTypeEnum

Enumeration: SelectionTypeEnum

Defined in: state/src/selection/SelectionTypeEnum.ts:6

Enumeration of selection types supported by the editor. Each type represents a different way of selecting content in the document.

Enumeration Members

Enumeration MemberValueDescriptionDefined in
ALL"all"A selection spanning the entire documentstate/src/selection/SelectionTypeEnum.ts:15
BASE"base"-state/src/selection/SelectionTypeEnum.ts:17
CUSTOM"custom"-state/src/selection/SelectionTypeEnum.ts:19
NODE"node"A selection of a single block-level nodestate/src/selection/SelectionTypeEnum.ts:12
TEXT"text"A text selection with anchor and head positions in inline contentstate/src/selection/SelectionTypeEnum.ts:9