Skip to content

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 EmbeddableMarkdownEditorComponentSelection

Properties

PropertyTypeDescription
anchornumberThe offset the selection starts from.
headnumberThe offset the selection extends to, where the cursor is.

Links to this page: