Editor locales
Note: For the best testing, run manual tests adding Arabic to additional languages configuration.
Play with different editor configurations to make sure localization and the right–to–left language support work fine.
language = 'en' (LTR)
- Make sure the UI of the editor is English.
- Make sure the language of the content is English (
lang attribute of th editable) and aligned to the left side.
- Delete all the content.
- Write something in Arabic.
- The text you've just written should be aligned right.
language = 'ar' (RTL)
- Make sure the UI of the editor is Arabic.
- Make sure the language of the content is Arabic (
lang attribute of th editable) and aligned to the right side.
- Delete all the content.
- Write something in English.
- The text you've just written should be aligned left.
language = 'en' (LTR), contentLanguage = 'ar' (RTL)
- Make sure the UI of the editor is English.
- Make sure the language of the content is Arabic (
lang attribute of th editable) and aligned to the right side.
- Delete all the content.
- Write something in English.
- The text you've just written should be aligned right.
language = 'ar' (RTL), contentLanguage = 'en' (LTR)
- Make sure the UI of the editor is Arabic.
- Make sure the language of the content is English (
lang attribute of th editable) and aligned to the left side.
- Delete all the content.
- Write something in Arabic.
- The text you've just written should be aligned left.