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.
In this example, you can see document-editor right-to-left and the locale set in arabic[locale value is ar-AE]
More information about the document editor features can be found in this documentation section.