From 9eb4be3bebbc2653eb480f174dbb649a588382b0 Mon Sep 17 00:00:00 2001 From: yuandongping Date: Wed, 27 Sep 2023 12:27:40 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=B7=A6=E5=AF=B9=E9=BD=90=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yuandongping --- common/resources/src/main/resources/rawfile/rich_editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/common/resources/src/main/resources/rawfile/rich_editor.js b/common/resources/src/main/resources/rawfile/rich_editor.js index affaa66..950ccc7 100644 --- a/common/resources/src/main/resources/rawfile/rich_editor.js +++ b/common/resources/src/main/resources/rawfile/rich_editor.js @@ -312,6 +312,7 @@ RICH_EDITOR.setTodo = function () { var parent = document.getElementById('editorjs_box'); var isContentEmpty = parent.innerHTML.trim().length === 0 || parent.innerHTML === '
'; var html = (isContentEmpty ? '' : '
') + + ' ' + '' + ' '; document.execCommand('insertHTML', false, html); -- Gitee