Block editor toolbar addition for mixed Rtl Ltr writing directions. Wrap words (or sentences) in…
Author: | Yehuda Tiram (profile at wordpress.org) |
WordPress version required: | 5.8 |
WordPress version tested: | 6.4.4 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 15-06-2022 |
Last updated: | 19-01-2024 |
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://atarimtr.co.il |
Total downloads: | 1 575 |
Active installs: | 70+ |
Click to start download |
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}
Screenshots
FAQ