This commit is contained in:
Vanessa 2022-12-01 00:52:39 +08:00
parent f8f60be8a6
commit 94812ef11c
2 changed files with 3 additions and 4 deletions

View file

@ -178,8 +178,8 @@ const getActionMenu = (element: Element, next: boolean) => {
}
}
return actionMenuElement;
};
export const bindMenuKeydown = (event: KeyboardEvent) => {
if (window.siyuan.menus.menu.element.classList.contains("fn__none") || event.altKey || event.shiftKey || isCtrl(event)) {
return false;