mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 03:31:47 +08:00
added react changes for new event
This commit is contained in:
parent
72244b3aa8
commit
48890f2df6
5
.changeset/light-stingrays-unite.md
Normal file
5
.changeset/light-stingrays-unite.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/react": minor
|
||||
---
|
||||
|
||||
Added new onNodeRemoved event to react editor creation
|
@ -147,6 +147,7 @@ class EditorInstanceManager {
|
||||
onFocus: (...args) => this.options.current.onFocus?.(...args),
|
||||
onSelectionUpdate: (...args) => this.options.current.onSelectionUpdate?.(...args),
|
||||
onTransaction: (...args) => this.options.current.onTransaction?.(...args),
|
||||
onNodeRemoved: (...args) => this.options.current.onNodeRemoved?.(...args),
|
||||
onUpdate: (...args) => this.options.current.onUpdate?.(...args),
|
||||
onContentError: (...args) => this.options.current.onContentError?.(...args),
|
||||
onDrop: (...args) => this.options.current.onDrop?.(...args),
|
||||
|
Loading…
Reference in New Issue
Block a user