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 Member | Value | Description | Defined in |
|---|---|---|---|
ALL | "all" | A selection spanning the entire document | state/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 node | state/src/selection/SelectionTypeEnum.ts:12 |
TEXT | "text" | A text selection with anchor and head positions in inline content | state/src/selection/SelectionTypeEnum.ts:9 |