From dc352b298cbc7a90646d50ef7e1f055ce6edcd57 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Sun, 26 Apr 2020 16:24:33 +0800 Subject: [PATCH] test --- src/forge/quillForEditor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/quillForEditor/index.js b/src/forge/quillForEditor/index.js index 98ae87ad1..8af2804e2 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]);