mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 19:00:15 +01:00
🚨
This commit is contained in:
parent
346897a3d2
commit
ed19a91d37
3 changed files with 4 additions and 9 deletions
|
|
@ -256,7 +256,7 @@ export const bindMenuKeydown = (event: KeyboardEvent) => {
|
|||
if (window.siyuan.menus.menu.element.contains(target) && (target.tagName === "INPUT" || target.tagName === "TEXTAREA")) {
|
||||
return false;
|
||||
}
|
||||
const eventCode = Constants.KEYCODELIST[event.keyCode]
|
||||
const eventCode = Constants.KEYCODELIST[event.keyCode];
|
||||
if (eventCode === "↓" || eventCode === "↑") {
|
||||
const currentElement = window.siyuan.menus.menu.element.querySelector(".b3-menu__item--current");
|
||||
let actionMenuElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue