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/15833

Vanessaa63686cb05f6
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index b5ae0c6a34..2de4f318be 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -1803,21 +1803,21 @@ export class Gutter {
}
}
window.siyuan.menus.menu.append(new MenuItem({
- id: "jumpToParentNext",
- label: window.siyuan.languages.jumpToParentNext,
- accelerator: window.siyuan.config.keymap.editor.general.jumpToParentNext.custom,
+ id: "jumpToParentPrev",
+ label: window.siyuan.languages.jumpToParentPrev,
+ accelerator: window.siyuan.config.keymap.editor.general.jumpToParentPrev.custom,
click() {
hideElements(["select"], protyle);
- jumpToParent(protyle, nodeElement, "next");
+ jumpToParent(protyle, nodeElement, "previous");
}
}).element);
window.siyuan.menus.menu.append(new MenuItem({
- id: "jumpToParentPrev",
- label: window.siyuan.languages.jumpToParentPrev,
- accelerator: window.siyuan.config.keymap.editor.general.jumpToParentPrev.custom,
+ id: "jumpToParentNext",
+ label: window.siyuan.languages.jumpToParentNext,
+ accelerator: window.siyuan.config.keymap.editor.general.jumpToParentNext.custom,
click() {
hideElements(["select"], protyle);
- jumpToParent(protyle, nodeElement, "previous");
+ jumpToParent(protyle, nodeElement, "next");
}
}).element);
window.siyuan.menus.menu.append(new MenuItem({