An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/13335
Vanessaf1ae434e1341
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.tsindex 788370704c..0e0a24cffc 100644--- a/app/src/protyle/wysiwyg/index.ts+++ b/app/src/protyle/wysiwyg/index.ts@@ -1474,9 +1474,6 @@ export class WYSIWYG {const scrollLeft = nodeElement.firstElementChild.scrollLeft;const tableSelectElement = nodeElement.querySelector(".table__select") as HTMLElement;html = "<table>";- tableSelectElement.removeAttribute("style");- const oldHTML = nodeElement.outerHTML;- nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));nodeElement.querySelectorAll("th, td").forEach((item: HTMLTableCellElement) => {if (!item.classList.contains("fn__none") &&item.offsetLeft + 6 > tableSelectElement.offsetLeft + scrollLeft && item.offsetLeft + item.clientWidth - 6 < tableSelectElement.offsetLeft + scrollLeft + tableSelectElement.clientWidth &&@@ -1484,6 +1481,9 @@ export class WYSIWYG {selectCellElements.push(item);}});+ tableSelectElement.removeAttribute("style");+ const oldHTML = nodeElement.outerHTML;+ nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));selectCellElements.forEach((item, index) => {if (index === 0 || !item.previousElementSibling ||!item.previousElementSibling.isSameNode(selectCellElements[index - 1])) {