Skip to content

EditorSelection

Official

Represents a selection in the editor

Import:

import type { EditorSelection } from 'obsidian';

Signature:

export interface EditorSelection

Properties

Property Type Description
anchor EditorPosition The selection start position.
head EditorPosition The selection end position.

Links to this page: