Vanessa 2023-04-03 19:50:25 +08:00
parent ae82c47e85
commit 2b5baa93d2
8 changed files with 46 additions and 14 deletions

View file

@ -620,7 +620,7 @@ export const globalShortcut = () => {
if (matchDock) {
return;
}
if (matchHotKey(window.siyuan.config.keymap.general.riffCard.custom, event)) {
if (!isTabWindow && matchHotKey(window.siyuan.config.keymap.general.riffCard.custom, event)) {
openCard();
if (document.activeElement) {
(document.activeElement as HTMLElement).blur();