Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/9841

Vanessa5607def130c3
diff --git a/app/src/protyle/util/hotKey.ts b/app/src/protyle/util/hotKey.ts
index dd8d8b774e..e4bccf090d 100644
--- a/app/src/protyle/util/hotKey.ts
+++ b/app/src/protyle/util/hotKey.ts
@@ -49,6 +49,10 @@ export const matchHotKey = (hotKey: string, event: KeyboardEvent) => {
// https://github.com/siyuan-note/siyuan/issues/9770
if (hotKey.startsWith("⌃") && !isMac()) {
+ if (hotKey === "⌃D") {
+ // https://github.com/siyuan-note/siyuan/issues/9841
+ return false;
+ }
hotKey = hotKey.replace("⌘", "").replace("⌃", "⌘")
.replace("⌘⇧", "⇧⌘")
.replace("⌘⌥⇧", "⌥⇧⌘")