Skip to content

Cm5EditorChange

Unofficial

Represents a change made to a CodeMirror 5 document.

Import:

import type { Cm5EditorChange } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface Cm5EditorChange

Properties

Property Type Description
from Position The start position of the change.
origin? string The origin of the change.
removed? string[] The text that was removed by the change.
text string[] The new text that was inserted.
to Position The end position of the change.

Links to this page: