Skip to content

tiptap@1.18.0

Choose a tag to compare

@philippkuehn philippkuehn released this 06 May 09:55

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