Toggle default alignment of text for text only page from LTR to RTL (and vice-versa)
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)
選ばれた解決策
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.
Thank you! I believe this should be enabled by default (or at least have a checkbox in the settings).
You're welcome.
This bidi setting is only enabled by default if you use a RTL Firefox locale like 'he' or 'ar'.
- https://dxr.mozilla.org/mozilla-release/source/browser/base/content/utilityOverlay.js#485
- https://dxr.mozilla.org/mozilla-release/source/modules/libpref/init/all.js#2232
// 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 により