From 4696f72522a2c626bb4547109008e83a27782f2a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 2 Sep 2022 12:53:46 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E8=A1=A8=E6=A0=BC=E5=86=85=E7=B2=98?= =?UTF-8?q?=E8=B4=B4=E4=BB=A3=E7=A0=81=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/util/insertHTML.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 163ccb289..1355f8b08 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -29,7 +29,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false) => } } } - if (tableElement) { + if (tableElement && !isBlock) { html = protyle.lute.BlockDOM2InlineBlockDOM(html); } let blockElement = hasClosestBlock(range.startContainer) as Element;