This commit is contained in:
caishi 2020-04-26 16:24:33 +08:00
parent 3530352c8f
commit dc352b298c
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ function QuillForEditor({
handleOnChange(quill.getContents()); // getContents: 检索编辑器内容
})
);
return () => {
return () => {
quill.off('text-change', handler);
}
}, [quill, handleOnChange]);