diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts index 4184172a2..1bdd10dc0 100644 --- a/app/src/protyle/render/av/col.ts +++ b/app/src/protyle/render/av/col.ts @@ -627,6 +627,21 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen }); } menu.addSeparator(); + + menu.addItem({ + icon: "iconInsertLeft", + label: window.siyuan.languages.insertColumnLeft, + click() { + + } + }); + menu.addItem({ + icon: "iconInsertRight", + label: window.siyuan.languages.insertColumnRight, + click() { + + } + }); if (type !== "block") { menu.addItem({ icon: "iconEyeoff", @@ -743,7 +758,7 @@ const genUpdateColItem = (type: TAVCol, oldType: TAVCol, name: string) => { `; }; -export const addCol = (protyle: IProtyle, blockElement: Element) => { +export const addCol = (protyle: IProtyle, blockElement: Element, previousId: string) => { const menu = new Menu("av-header-add"); const avID = blockElement.getAttribute("data-av-id"); menu.addItem({ @@ -1046,7 +1061,6 @@ export const addCol = (protyle: IProtyle, blockElement: Element) => { }); } }); - /* menu.addItem({ icon: "iconSearch", label: window.siyuan.languages.rollup, @@ -1071,7 +1085,7 @@ export const addCol = (protyle: IProtyle, blockElement: Element) => { id }); } - });*/ + }); menu.addItem({ icon: "iconClock", label: window.siyuan.languages.createdTime,