From d53fc410f9366519ae84dd5824252a3b0f200757 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Sat, 20 Dec 2025 09:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Editor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Editor/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Editor/index.js b/components/Editor/index.js index 9eb62b6..e47671a 100644 --- a/components/Editor/index.js +++ b/components/Editor/index.js @@ -53,7 +53,7 @@ const Editor = forwardRef(({ const handleChange = (editor) => { setHtml(editor.getHtml()); - onChange?.(normalizeEmptyHtml(editor.getHtml())); + onChange?.(normalizeEmptyHtml(editor.getHtml()) || " "); }; // 工具栏配置