MarkdownBaseView.onUpdate method
MarkdownBaseView › onUpdate
Unofficial
Execute functionality on CM editor state update.Signature:
onUpdate(update: ViewUpdate, changed: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| update | ViewUpdate | The CodeMirror view update. |
| changed | boolean | Whether the document content changed. |
Returns: void