tiptap@1.18.0
New way to add events:
this.editor.on('update', () => {
console.log('update!')
})You can still add event handlers the old way:
new Editor({
onUpdate: () => {
console.log('update!')
},
})Available events: init, update, focus, blur, paste, drop