Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

Update openTitleMenu.ts (#12701)

Jeffrey Chen89ec9591ae0f
diff --git a/app/src/protyle/header/openTitleMenu.ts b/app/src/protyle/header/openTitleMenu.ts
index 8aca596e96..ca5c0a21f1 100644
--- a/app/src/protyle/header/openTitleMenu.ts
+++ b/app/src/protyle/header/openTitleMenu.ts
@@ -263,6 +263,7 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
genImportMenu(protyle.notebookId, protyle.path);
window.siyuan.menus.menu.append(exportMd(protyle.block.showAll ? protyle.block.id : protyle.block.rootID));
+ window.siyuan.menus.menu.append(new MenuItem({id: "separator_4", type: "separator"}).element);
if (protyle?.app?.plugins) {
emitOpenMenu({
plugins: protyle.app.plugins,
@@ -271,10 +272,9 @@ export const openTitleMenu = (protyle: IProtyle, position: IPosition) => {
protyle,
data: response.data,
},
- separatorPosition: "top",
+ separatorPosition: "bottom",
});
}
- window.siyuan.menus.menu.append(new MenuItem({id: "separator_4", type: "separator"}).element);
window.siyuan.menus.menu.append(new MenuItem({
id: "updateAndCreatedAt",
iconHTML: "",