Test whether an Element should be considered an editor, ie. something which expects to consume keydown events.
keydown
Use this if you have globally defined keybindings which should not be triggered when typing into an input field or other kind of editor.
HTMLInputElements, HTMLTextAreaElements and elements with the contenteditable attribute set are defined as editors.
contenteditable
Test whether an Element should be considered an editor, ie. something which expects to consume
keydownevents.Use this if you have globally defined keybindings which should not be triggered when typing into an input field or other kind of editor.
HTMLInputElements, HTMLTextAreaElements and elements with the
contenteditableattribute set are defined as editors.