Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Toggle default alignment of text for text only page from LTR to RTL (and vice-versa)

  • 3 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

On text only pages, Firefox displays text Left-to-Right (LTR) by default, even for plain text in which the language is read Right-to-Left (RTL). Firefox should either,

1) display content LTR or RTL on the basis of script (e.g., UTF-8 Hebrew text should be aligned RIGHT) 2) provide a user option to toggle which way all the text should be aligned on text only pages (perhaps, via the context menu)

Thank you

On text only pages, Firefox displays text Left-to-Right (LTR) by default, even for plain text in which the language is read Right-to-Left (RTL). Firefox should either, 1) display content LTR or RTL on the basis of script (e.g., UTF-8 Hebrew text should be aligned RIGHT) 2) provide a user option to toggle which way all the text should be aligned on text only pages (perhaps, via the context menu) Thank you

被選擇的解決方法

Try to set bidi.browser.ui to true on the about:config page. This should give a "Switch Page Direction" item in the right-click context menu.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

從原來的回覆中察看解決方案 👍 1

所有回覆 (3)

more options

選擇的解決方法

Try to set bidi.browser.ui to true on the about:config page. This should give a "Switch Page Direction" item in the right-click context menu.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Thank you! I believe this should be enabled by default (or at least have a checkbox in the settings).

more options

You're welcome.

This bidi setting is only enabled by default if you use a RTL Firefox locale like 'he' or 'ar'.

// Setting this pref to |true| forces Bidi UI menu items and keyboard shortcuts
// to be exposed, and enables the directional caret hook. By default, only
// expose it for bidi-associated system locales.

由 cor-el 於 修改