跳到内容

Atr Inline Rtl Ltr

v1.0.1

yehudaT · 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+

贡献者

截图

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}

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums