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

Vanessafd1671200e37
diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.ts
index 4184172a29..1bdd10dc00 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) => {
</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,