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); } }