Vanessa 2023-02-23 18:57:04 +08:00
parent 7c65043b80
commit 4b4e4cb9be
4 changed files with 11 additions and 11 deletions

View file

@ -379,7 +379,7 @@ export const globalShortcut = () => {
if (!event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey &&
!["INPUT", "TEXTAREA"].includes((event.target as HTMLElement).tagName) &&
["s", "a", "h", "g", "e"].includes(event.key.toLowerCase())) {
["1", "2", "3", "4", "j", "k", "l", ";", "s"].includes(event.key.toLowerCase())) {
const openCardDialog = window.siyuan.dialogs.find(item => {
if (item.element.getAttribute("data-key") === window.siyuan.config.keymap.general.riffCard.custom) {
return true;