web快捷键取消默认过滤INPUT SELECT TEXTAREA
This commit is contained in:
@@ -273,6 +273,8 @@ const saveHotKeys = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const bindHotKeys = () => {
|
const bindHotKeys = () => {
|
||||||
|
// hotkeys默认过滤INPUT SELECT TEXTAREA
|
||||||
|
hotkeys.filter = () => true;
|
||||||
buttons.value.forEach(({ hotKeys, action }) => {
|
buttons.value.forEach(({ hotKeys, action }) => {
|
||||||
if (hotKeys.length == 0) return;
|
if (hotKeys.length == 0) return;
|
||||||
hotkeys(hotKeys.join("+"), (event) => {
|
hotkeys(hotKeys.join("+"), (event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user