@bodil/dom
    Preparing search index...

    Function isEditor

    • Test whether an Element should be considered an editor, ie. something which expects to consume keydown events.

      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.

      Parameters

      • element: Element | null | undefined

      Returns boolean