web快捷键取消默认过滤INPUT SELECT TEXTAREA

This commit is contained in:
Xwite 2023-05-21 21:52:07 +08:00
parent 96ef9571e1
commit 2cb7100453

View File

@ -273,6 +273,8 @@ const saveHotKeys = () => {
};
const bindHotKeys = () => {
// hotkeysINPUT SELECT TEXTAREA
hotkeys.filter = () => true;
buttons.value.forEach(({ hotKeys, action }) => {
if (hotKeys.length == 0) return;
hotkeys(hotKeys.join("+"), (event) => {