From 77af16219fc2dde1ac5ddca20da05f178a0d01d5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 21 Jul 2022 20:21:45 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5484 --- 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 ec7edd121..084ecf00d 100644 --- a/app/src/util/globalShortcut.ts +++ b/app/src/util/globalShortcut.ts @@ -822,6 +822,7 @@ const fileTreeKeydown = (event: KeyboardEvent) => { const tab = getInstanceById(element.getAttribute("data-id")) as Tab; if (tab && tab.model instanceof Editor) { tab.model.editor.protyle.wysiwyg.element.blur(); + tab.model.editor.protyle.title.editElement.blur(); files.selectItem(tab.model.editor.protyle.notebookId, tab.model.editor.protyle.path); } }