Trevixal API
    Preparing search index...

    Function setMark

    • Apply a mark with specific attributes, replacing any existing mark of the same type in the range. Unlike toggleMark this is idempotent, picking the same font size twice keeps it set.

      Parameters

      • name: string
      • attrs: Attrs

      Returns Command