diff --git a/src/components/MixedInput/index.tsx b/src/components/MixedInput/index.tsx index fd0f8a46..9f741038 100644 --- a/src/components/MixedInput/index.tsx +++ b/src/components/MixedInput/index.tsx @@ -79,9 +79,9 @@ const Plugins: FC = ({ window.addEventListener("paste", handlePasteEvent); return () => { window.removeEventListener("paste", handlePasteEvent); - // if (plateEditor && updateDraft) { - // updateDraft(plateEditor.children); - // } + if (plateEditor && updateDraft) { + updateDraft(plateEditor.children); + } }; }, [id, updateDraft]);