🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Atr Inline Rtl Ltr

Atr Inline Rtl Ltr

5/5 (1 ratings) 100 active installs Updated Jan 18, 2025
Two buttons In the editing toolbar under "Display more block tools" arrow

Two buttons In the editing toolbar under "Display more block tools" arrow

Block editor toolbar addition for mixed Rtl Ltr writing directions. It wrap words (or sentences) in paragraph block with span element and change their direction from rtl->ltr or ltr->rtl as you need.

Uses dir=”rtl” or dir=”ltr”. See also Inline bidi markup at www.w3.org

Note that the wrapping element is < span dir=”rtl” || dir=”ltr” class=”atr-inline-direction-rtl” || class=”atr-inline-direction-ltr” > so you can control it through your site CSS as well. i.e. .atr-inline-direction-rtl{direction: rtl;display:inline-block}