diff --git a/app/src/protyle/util/hotKey.ts b/app/src/protyle/util/hotKey.ts index dd8d8b774..e4bccf090 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("⌘⌥⇧", "⌥⇧⌘")