forked from Gitlink/forgeplus-react
Merge branch 'develop' of http://gitea.trustie.net/jasder/forgeplus-react into develop
This commit is contained in:
commit
560e7051a6
|
@ -261,7 +261,7 @@ function QuillForEditor({
|
||||||
handleOnChange(quill.getContents()); // getContents: 检索编辑器内容
|
handleOnChange(quill.getContents()); // getContents: 检索编辑器内容
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
return () => {
|
return () => {
|
||||||
quill.off('text-change', handler);
|
quill.off('text-change', handler);
|
||||||
}
|
}
|
||||||
}, [quill, handleOnChange]);
|
}, [quill, handleOnChange]);
|
||||||
|
|
Loading…
Reference in New Issue