fix: disable delete note shortcut for inputs
This commit is contained in:
@@ -28,6 +28,7 @@ type KeyboardObserver = {
|
||||
elements?: HTMLElement[];
|
||||
notElement?: HTMLElement;
|
||||
notElementIds?: string[];
|
||||
notTags?: string[];
|
||||
};
|
||||
|
||||
export class IOService {
|
||||
@@ -175,6 +176,10 @@ export class IOService {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (observer.notTags && observer.notTags.includes(target.tagName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (
|
||||
this.eventMatchesKeyAndModifiers(
|
||||
event,
|
||||
|
||||
Reference in New Issue
Block a user