该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Atr Inline Rtl Ltr

描述

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}

屏幕截图

  • Two buttons In the editing toolbar under “Display more block tools” arrow

区块

该插件提供了 1 个区块.

  • Atr Inline Rtl Ltr A handy tool for mixed Rtl Ltr writing directions. Wrap words (or sentences) in paragraph block with span element and change their direction from rtl to ltr and vice versa. Uses dir='rtl' or dir='ltr' See also https://www.w3.org/International/articles/inline-bidi-markup/. <br> 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}

安装

Installing “Atr Inline Rtl Ltr” can be done either by searching for “Atr Inline Rtl Ltr” via the “Plugins > Add New” screen in your WordPress dashboard,
or by using the following steps:

  1. Upload the plugin files to the /wp-content/plugins/atr-inline-rtl-ltr directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

Where can I use this plugin?

In the editing toolbar under “Display more block tools” arrow. You’ll see “Direction Rtl” and “Direction Ltr” options.

How do I use this plugin?

Select the text that you want to adjust and click on the appropriate button. For example, if you write English text in Hebrew post, Select the English text and click on “Direction Ltr” in the editing toolbar under “Display more block tools” arrow.

What are the effects of this plugin?

The only effect of this plugin is wrapping the selected words (or sentences) in paragraph block with span element with dir=”rtl” or dir=”ltr” attribute and class=”atr-inline-direction-rtl” or class=”atr-inline-direction-ltr”

评价

2023 年 8 月 23 日
Made my life so much easier with just one click I aligned RTL within LTR. Thank you very much for this great plugin, made my day!
阅读所有1条评价

贡献者及开发者

「Atr Inline Rtl Ltr」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Atr Inline Rtl Ltr」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Atr Inline Rtl Ltr」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志