RichTextView
RichTextView copied to clipboard
RTL Language support?
What is the purpose of your issue?
- [x] Bug
- [x] Question
- [ ] Other
Description
I want to display some Arabic content inside a RichTextView
but I can't find a way to properly align the text to the right. is there any way to do it?
Expected behavior I want the Arabic text to be aligned from right to the left.
Version:
- OS w/ Version: iOS 11
- RichTextView Version : v2.6.5
Additional context, screenshots, screencasts
I managed to align the text by putting the data inside div align="right" and for ordered and unordered list i used direction: rtl;
"""
<div align="right">
<style type="text/css">
ul { direction: rtl; }
ol { direction: rtl; }
</style>
\(dataHere)
</div>
"""
But is there any support for this inside the RichTextView itself?
Hello @alielsokary. This is something that we do not support currently but is a good feature to have. If you want to feel free to open a pull request to address this issue.