diff --git a/packages/tiptap/src/Editor.js b/packages/tiptap/src/Editor.js index 0405cd6a8..09341c3a2 100644 --- a/packages/tiptap/src/Editor.js +++ b/packages/tiptap/src/Editor.js @@ -82,7 +82,7 @@ export default class Editor extends Emitter { } this.events.forEach(name => { - this.on(name, this.options[camelCase(`on ${name}`)]) + this.on(name, this.options[camelCase(`on ${name}`)] || (() => {})) }) this.emit('init', {