diff --git a/packages/core/src/Editor.ts b/packages/core/src/Editor.ts index 40fa1a02a4e..2aef4ed23a0 100644 --- a/packages/core/src/Editor.ts +++ b/packages/core/src/Editor.ts @@ -169,6 +169,7 @@ export class Editor extends EventEmitter { */ public setEditable(editable: boolean): void { this.setOptions({ editable }) + this.options.onUpdate({ editor: this, transaction: this.state.tr }) } /**