From 89767092b72c6bbe2369133157a8606ed3510ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A2=96=E9=80=B8?= <49649786+Zuoqiu-Yingyi@users.noreply.github.com> Date: Mon, 17 Apr 2023 10:49:51 +0800 Subject: [PATCH] :bug: fix #7921 (#8008) --- app/src/protyle/toolbar/index.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index b9df09475..f6a84cdf1 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -1098,15 +1098,12 @@ export class Toolbar { if (types.includes("NodeHTMLBlock")) { let html = textElement.value; if (html) { - // 需 div 包裹,否则行内元素会解析错误 https://github.com/siyuan-note/siyuan/issues/6764 - if (!html.startsWith("