mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
166dd4a1c3
commit
0b29428994
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue