Skip to content

MarkdownEditView.onUpdate method

MarkdownEditView › onUpdate

Unofficial

Execute functionality on CM editor state update.

Signature:

onUpdate(update: ViewUpdate, changed: boolean): void

Parameters:

Parameter Type Description
update ViewUpdate The CodeMirror view update.
changed boolean Whether the document changed.

Returns: void