Skip to content

Commit

Permalink
Merge pull request #98 from ueberdosis/fix/extension-events
Browse files Browse the repository at this point in the history
fix: remove not available events from CustomExtension
  • Loading branch information
timoisik authored Jan 31, 2025
2 parents 5ed7560 + 7256609 commit f72ea56
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/content/editor/api/events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,6 @@ const CustomExtension = Extension.create({
onDestroy() {
// The editor is being destroyed.
},
onPaste(event: ClipboardEvent, slice: Slice) {
// The editor is being pasted into.
},
onDrop(event: DragEvent, slice: Slice, moved: boolean) {
// The editor is being pasted into.
},
onContentError({ editor, error, disableCollaboration }) {
// The editor content does not match the schema.
},
Expand Down

0 comments on commit f72ea56

Please sign in to comment.