From 712d94b5bd9e30b33c6699180dd00121e2f22139 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 19 Jul 2022 11:45:10 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5458 --- app/src/util/globalShortcut.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.ts index 825eac437..ec7edd121 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); } }