EditorSelection
Official
Represents a selection in the editor
Import:
import type { EditorSelection } from 'obsidian';Signature:
export interface EditorSelectionProperties
| Property | Type | Description | |
|---|---|---|---|
| anchor | EditorPosition | The selection start position. | |
| head | EditorPosition | The selection end position. |
Links to this page: