Skip to content

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

:art: fix https://github.com/siyuan-note/petal/issues/10

Vanessab38863df8a13
diff --git a/app/src/boot/globalShortcut.ts b/app/src/boot/globalShortcut.ts
index 49b84c1387..ce6f55a47d 100644
--- a/app/src/boot/globalShortcut.ts
+++ b/app/src/boot/globalShortcut.ts
@@ -822,6 +822,8 @@ export const globalShortcut = (app: App) => {
}
});
if (matchCommand) {
+ event.stopPropagation();
+ event.preventDefault();
return true;
}