typograph-editor-documentation
    Preparing search index...

    Function getSelectionTextPosition

    • Uniform super/subscript state across the current selection for toolbar highlighting: 'normal' | 'superscript' | 'subscript', or null when the selection mixes states. Returns 'normal' when there is no active rich-text element.

      Returns "normal" | "superscript" | "subscript"