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/5458

Vanessa712d94b5bd9e
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts
index 825eac437c..ec7edd121c 100644
--- a/app/src/util/globalShortcut.ts
+++ b/app/src/util/globalShortcut.ts
@@ -821,6 +821,7 @@ const fileTreeKeydown = (event: KeyboardEvent) => {
if (element) {
const tab = getInstanceById(element.getAttribute("data-id")) as Tab;
if (tab && tab.model instanceof Editor) {
+ tab.model.editor.protyle.wysiwyg.element.blur();
files.selectItem(tab.model.editor.protyle.notebookId, tab.model.editor.protyle.path);
}
}