fix editor

This commit is contained in:
hamid zarghami
2025-11-10 11:47:35 +03:30
parent 5fcc98486f
commit d150b7c430
+1 -1
View File
@@ -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) {