Type Editor / @type-editor/state / selection/Selection
selection/Selection
Classes
| Class | Description |
|---|---|
Superclass for editor selections. Every selection type should extend this. Should not be instantiated directly. This abstract class provides the foundation for all selection types in the editor, including text selections, node selections, and all-document selections. It manages the selection's anchor, head, and ranges, along with methods to query and manipulate the selection state. Note: made this class non-abstract due to issues with the compat module. |
Interfaces
| Interface | Description |
|---|---|
‐ |