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/9993

Vanessaca587324e457
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index 227871d3aa..7506b86333 100644
--- a/app/src/protyle/render/av/col.ts
+++ b/app/src/protyle/render/av/col.ts
@@ -637,7 +637,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
icon: "iconInsertRight",
label: window.siyuan.languages.insertColumnRight,
click() {
- const addMenu = addCol(protyle, blockElement, cellElement.nextElementSibling?.getAttribute("data-col-id") || "");
+ const addMenu = addCol(protyle, blockElement, cellElement.getAttribute("data-col-id") || "");
const addRect = cellElement.getBoundingClientRect();
addMenu.open({
x: addRect.left,