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/6943
Vanessa5014e07768f4
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.tsindex 70ba281f6e..e867d3f98d 100644--- a/app/src/util/globalShortcut.ts+++ b/app/src/util/globalShortcut.ts@@ -339,7 +339,9 @@ export const globalShortcut = () => {return;}- if (!event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey && ["s","a", "h", "g", "e"].includes(event.key.toLowerCase())) {+ if (!event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey &&+ !["INPUT", "TEXTAREA"].includes((event.target as HTMLElement).tagName) &&+ ["s", "a", "h", "g", "e"].includes(event.key.toLowerCase())) {const openCardDialog = window.siyuan.dialogs.find(item => {if (item.element.getAttribute("data-key") === window.siyuan.config.keymap.general.riffCard.custom) {return true;