From 0b29428994fa4a1e63e6d01409aaae92486c3094 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 16 Oct 2023 17:38:49 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/9411 --- 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 fcf3f3134..556c54357 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -20,7 +20,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false, fixTableRange(range); let tableInlineHTML; if (hasClosestByAttribute(range.startContainer, "data-type", "NodeTable") && !isBlock) { - if (hasClosestByMatchTag(range.startContainer, "table")) { + if (hasClosestByMatchTag(range.startContainer, "TABLE")) { tableInlineHTML = protyle.lute.BlockDOM2InlineBlockDOM(html); } else { // https://github.com/siyuan-note/siyuan/issues/9411