Skip to content

MarkdownBaseView.onUpdate method

MarkdownBaseView › onUpdate

Unofficial

Execute functionality on CM editor state update.

Signature:

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

Parameters:

ParameterTypeDescription
updateViewUpdateThe CodeMirror view update.
changedbooleanWhether the document content changed.

Returns: void