diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 227871d3a..7506b8633 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,