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/15091 2

Vanessa5115305c2d46
diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.ts
index aae7baa197..792ad88beb 100644
--- a/app/src/protyle/render/av/openMenuPanel.ts
+++ b/app/src/protyle/render/av/openMenuPanel.ts
@@ -109,7 +109,11 @@ export const openMenuPanel = (options: {
}
});
} else {
- fields.splice(0, 0, options.editData.colData);
+ if (data.viewType === "table") {
+ fields.splice(0, 0, options.editData.colData);
+ } else {
+ fields.push(options.editData.colData);
+ }
}
}
html = getEditHTML({protyle: options.protyle, data, colId: options.colId, isCustomAttr});