mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 09:44:21 +01:00
This commit is contained in:
parent
780e030ae0
commit
44d8d49851
2 changed files with 14 additions and 14 deletions
|
|
@ -1054,7 +1054,7 @@ export const windowKeyDown = (app: App, event: KeyboardEvent) => {
|
|||
const target = event.target as HTMLElement;
|
||||
if (isNotCtrl(event) && !event.shiftKey && !event.altKey &&
|
||||
!["INPUT", "TEXTAREA"].includes(target.tagName) &&
|
||||
["0", "1", "2", "3", "4", "j", "k", "l", ";", "s", " ", "p", "enter"].includes(event.key.toLowerCase())) {
|
||||
["0", "1", "2", "3", "4", "j", "k", "l", ";", "s", " ", "p", "enter", "a", "s", "d", "f", "q", "x"].includes(event.key.toLowerCase())) {
|
||||
let cardElement: Element;
|
||||
window.siyuan.dialogs.find(item => {
|
||||
if (item.element.getAttribute("data-key") === Constants.DIALOG_OPENCARD) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue