diff --git a/src/forge/quillForEditor/index.js b/src/forge/quillForEditor/index.js index 98ae87ad..8af2804e 100644 --- a/src/forge/quillForEditor/index.js +++ b/src/forge/quillForEditor/index.js @@ -261,7 +261,7 @@ function QuillForEditor({ handleOnChange(quill.getContents()); // getContents: 检索编辑器内容 }) ); - return () => { + return () => { quill.off('text-change', handler); } }, [quill, handleOnChange]);