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