tiptap
-
Published by philippkuehn over 5 years ago
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