This commit is contained in:
Vanessa 2022-07-19 11:45:10 +08:00
parent 981b276cef
commit 712d94b5bd

View file

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