Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17051

Vanessaface4a1c9072
diff --git a/app/src/protyle/util/table.ts b/app/src/protyle/util/table.ts
index 3ed120d6ca..83cb863dad 100644
--- a/app/src/protyle/util/table.ts
+++ b/app/src/protyle/util/table.ts
@@ -190,9 +190,9 @@ export const insertColumn = (protyle: IProtyle, nodeElement: Element, cellElemen
const tag = colCellElement.tagName.toLowerCase();
let html = "";
if (colCellElement === cellElement) {
- html = `<${tag}><wbr> </${tag}>` + `<${tag}> </${tag}>`.repeat(count - 1);
+ html = `<${tag}><wbr></${tag}>` + `<${tag}></${tag}>`.repeat(count - 1);
} else {
- html = `<${tag}> </${tag}>`.repeat(count);
+ html = `<${tag}></${tag}>`.repeat(count);
}
colCellElement.insertAdjacentHTML(type, html);
}