Skip to content

StateHistoryEphemeralState

Unofficial

Ephemeral editor state stored in the state history (cursor and scroll position).

Import:

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

Signature:

export interface StateHistoryEphemeralState

Properties

Property Type Description
cursor EditorRange Cursor selection range in the editor.
scroll number Scroll position in the editor.

Links to this page: