SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Variable isEditableConst

    isEditable: (el: Element | null | undefined) => boolean = ReactUtils.isEditable

    Whether el is a DOM text-editable — a text <input>, a <textarea>, or a contenteditable.

    Type Declaration

      • (el: Element | null | undefined): boolean
      • Whether el is a DOM text-editable — a text <input>, a <textarea>, or a contenteditable. That is: "does the browser's native caret/clipboard apply here", which is the question both the input-clipboard injector (whose commands act on this element) and keystroke diagnostics ask. One definition, low in the stack, so the two can't drift.

        Parameters

        • el: Element | null | undefined

        Returns boolean

    Re-exported at its original path; the definition lives in @sheetxl/utils-react so the command layer and the keystroke layer share one answer to "is this a text editable".