Skip to content

EditorStateSelectionSpec

Unofficial

A selection specified as an anchor position and optional head position.

Import:

import type { EditorStateSelectionSpec } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface EditorStateSelectionSpec

Properties

PropertyTypeDescription
anchornumberThe anchor position of the selection.
head?numberThe head position of the selection.