
內容簡介
此外掛可在混合 Rtl Ltr 書寫方向中增加區塊編輯器工具欄。 它將單詞(或句子)用 span 元素包裹在段落區塊中,並根據您的需要將其方向從 rtl 到 ltr 或 ltr 到 rtl。
使用 dir=”rtl” 或 dir=”ltr”。 也可參考www.w3.org 上的內置雙向書寫標記
請注意,包裝元素為 <span dir=”rtl” || dir=”ltr” class=”atr-inline-direction-rtl” || class=”atr-inline-direction-ltr” >,因此您也可以透過網站 CSS 來控制它。 例如 .atr-inline-direction-rtl{direction: rtl;display:inline-block}
外掛標籤
開發者團隊
原文外掛簡介
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}
