An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/9770
Vanessad9ae17921886
diff --git a/app/src/protyle/util/hotKey.ts b/app/src/protyle/util/hotKey.tsindex e51a3cb39d..dd8d8b774e 100644--- a/app/src/protyle/util/hotKey.ts+++ b/app/src/protyle/util/hotKey.ts@@ -47,6 +47,14 @@ export const matchHotKey = (hotKey: string, event: KeyboardEvent) => {return false;}+ // https://github.com/siyuan-note/siyuan/issues/9770+ if (hotKey.startsWith("⌃") && !isMac()) {+ hotKey = hotKey.replace("⌘", "").replace("⌃", "⌘")+ .replace("⌘⇧", "⇧⌘")+ .replace("⌘⌥⇧", "⌥⇧⌘")+ .replace("⌘⌥", "⌥⌘");+ }+// []if (hotKey.indexOf("⇧") === -1 && hotKey.indexOf("⌘") === -1 && hotKey.indexOf("⌥") === -1 && hotKey.indexOf("⌃") === -1) {if (isNotCtrl(event) && !event.altKey && !event.shiftKey && hotKey === Constants.KEYCODELIST[event.keyCode]) {