mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-27 10:46:09 +01:00
This commit is contained in:
parent
bf96331cf6
commit
f56d6de5ce
9 changed files with 138 additions and 58 deletions
|
|
@ -391,7 +391,7 @@ export const globalShortcut = (app: App) => {
|
|||
});
|
||||
|
||||
window.addEventListener("keydown", (event) => {
|
||||
if (document.getElementById("errorLog") || event.isComposing) {
|
||||
if (document.querySelector(".av__mask") || document.getElementById("errorLog") || event.isComposing) {
|
||||
return;
|
||||
}
|
||||
const target = event.target as HTMLElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue