Vanessa 2023-12-29 10:14:27 +08:00
parent 37919252ec
commit ca587324e4

View file

@ -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,