doc update: onSelection → onSelectionUpdate
live: https://www.tiptap.dev/guide/custom-extensions#events
This commit is contained in:
@@ -404,7 +404,7 @@ const CustomExtension = Extension.create({
|
||||
onUpdate() {
|
||||
// The content has changed.
|
||||
},
|
||||
onSelection() {
|
||||
onSelectionUpdate({editor}) {
|
||||
// The selection has changed.
|
||||
},
|
||||
onTransaction({ transaction }) {
|
||||
|
||||
Reference in New Issue
Block a user