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/11518 disabled

Vanessa1cba50d88014
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts
index 7e91e4caf9..2bb2badb6f 100644
--- a/app/src/protyle/gutter/index.ts
+++ b/app/src/protyle/gutter/index.ts
@@ -1247,6 +1247,8 @@ export class Gutter {
copyMenu.push({
iconHTML: "",
label: window.siyuan.languages.duplicateCompletely,
+ accelerator: window.siyuan.config.keymap.editor.general.duplicateCompletely.custom,
+ disabled: protyle.disabled,
click() {
duplicateCompletely(protyle, nodeElement as HTMLElement);
}