This commit is contained in:
Vanessa 2023-12-09 23:33:06 +08:00
parent 801f665c90
commit b6a4566670
11 changed files with 26 additions and 26 deletions

View file

@ -138,7 +138,7 @@ export const initWindowEvent = (app: App) => {
zoomIn,
});
window.siyuan.menus.menu.remove();
})
});
}
event.stopImmediatePropagation();
event.preventDefault();

View file

@ -101,7 +101,7 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
if (dialog) {
dialog.destroy({focus: "false"});
}
})
});
return true;
}
const id = currentList.getAttribute("data-node-id");
@ -206,7 +206,7 @@ export const searchKeydown = (app: App, event: KeyboardEvent) => {
if (dialog) {
dialog.destroy({focus: "false"});
}
})
});
}
} else {
/// #if !BROWSER