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;