Преглед на файлове

:art: https://github.com/siyuan-note/siyuan/issues/9993

Vanessa преди 1 година
родител
ревизия
fd1671200e
променени са 1 файла, в които са добавени 17 реда и са изтрити 3 реда
  1. 17 3
      app/src/protyle/render/av/col.ts

+ 17 - 3
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) => {
 </button>`;
 };
 
-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,