EmbeddableMarkdownEditorComponentSelection
A selection in an EmbeddableMarkdownEditorComponent, as document offsets.
Import:
import type { EmbeddableMarkdownEditorComponentSelection } from '@mnaoumov/obsidian-lib/components/embeddable-markdown-editor-component';Signature:
export interface EmbeddableMarkdownEditorComponentSelectionProperties
| Property | Type | Description |
|---|---|---|
| anchor | number | The offset the selection starts from. |
| head | number | The offset the selection extends to, where the cursor is. |
Links to this page: