An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/11051
Vanessa72073a0b407f
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.tsindex 9655a1927d..e94af8b770 100644--- a/app/src/protyle/render/av/col.ts+++ b/app/src/protyle/render/av/col.ts@@ -787,12 +787,14 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen}menu.addSeparator();}-menu.addItem({icon: "iconInsertLeft",label: window.siyuan.languages.insertColumnLeft,click() {const addMenu = addCol(protyle, blockElement, cellElement.previousElementSibling?.getAttribute("data-col-id") || "");+ if (!blockElement.contains(cellElement)) {+ cellElement = blockElement.querySelector(`.av__row--header .av__cell--header[data-col-id="${colId}"]`)+ }const addRect = cellElement.getBoundingClientRect();addMenu.open({x: addRect.left,@@ -805,7 +807,10 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemenicon: "iconInsertRight",label: window.siyuan.languages.insertColumnRight,click() {- const addMenu = addCol(protyle, blockElement, cellElement.getAttribute("data-col-id") || "");+ const addMenu = addCol(protyle, blockElement, colId);+ if (!blockElement.contains(cellElement)) {+ cellElement = blockElement.querySelector(`.av__row--header .av__cell--header[data-col-id="${colId}"]`)+ }const addRect = cellElement.getBoundingClientRect();addMenu.open({x: addRect.left,