fix editor
This commit is contained in:
@@ -127,7 +127,7 @@ const QuillEditor: FC<QuillEditorProps> = ({
|
|||||||
editorRef.current.innerHTML = ''
|
editorRef.current.innerHTML = ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [imageHandler, placeholder, value])
|
}, [imageHandler, placeholder])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (quillRef.current && value !== quillRef.current.root.innerHTML) {
|
if (quillRef.current && value !== quillRef.current.root.innerHTML) {
|
||||||
|
|||||||
Reference in New Issue
Block a user