Trevixal API
    Preparing search index...

    Function setTextDirection

    • Set the direction of every block the selection touches that has one: rtl, ltr, or null to follow the document's. A code block, which is always left to right, has no dir and is skipped.

      Parameters

      Returns Command