Example of Right To Left in React DocumentEditor Component


Right To left

RTL provides an option to switch the text direction and layout of the editor component from right to left. It improves the user experiences and accessibility for users who use right-to-left languages (Arabic, Farsi, Urdu, etc.). To enable RTL document-editor, set the enableRtl to true.

More Details...


In this example, you can see document-editor right-to-left and the locale set in arabic[locale value is ar-AE]

By default, locale value is en-US. If you want to change the en-US culture to a different culture, you have to change the locale accordingly.

More information about the document editor features can be found in this documentation section.