
Atr Inline Rtl Ltr
v1.0.1yehudaT · 2022年6月15日 上架
Block editor toolbar addition for mixed Rtl Ltr writing directions. Wrap string with span element and change direction from rtl to ltr and vice versa
- 正在使用
- 90+
- 评分
- 5.0 / 5
- 累计下载
- 4,041
- 最近更新
- 2025年1月18日
1 条评价需要 WordPress 5.8+已测试到 6.7.12PHP 7.0+
贡献者
截图
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}
