feat: remove resize event handler
This commit is contained in:
@@ -28,9 +28,6 @@ const editor = new Editor({
|
||||
onBlur({ editor, event }) {
|
||||
// The editor isn’t focused anymore.
|
||||
},
|
||||
onResize({ editor, event }) {
|
||||
// The editor view has resized.
|
||||
},
|
||||
onDestroy() {
|
||||
// The editor is being destroyed.
|
||||
},
|
||||
@@ -66,10 +63,6 @@ editor.on('blur', ({ editor, event }) => {
|
||||
// The editor isn’t focused anymore.
|
||||
}
|
||||
|
||||
editor.on('resize', ({ editor, event }) => {
|
||||
// The editor view has resized.
|
||||
}
|
||||
|
||||
editor.on('destroy', () => {
|
||||
// The editor is being destroyed.
|
||||
}
|
||||
@@ -115,9 +108,6 @@ const CustomExtension = Extension.create({
|
||||
onBlur({ editor, event }) {
|
||||
// The editor isn’t focused anymore.
|
||||
},
|
||||
onResize({ editor, event }) {
|
||||
// The editor view has resized.
|
||||
},
|
||||
onDestroy() {
|
||||
// The editor is being destroyed.
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user