Provide controls to change text direction and alignment
alibghz last edited by alibghz
In a multilingual nodebb forum which users may post in both right-to-left and left-to-right languages or use a ltr/rtl theme by their preferences, having no control on selecting proper text direction and alignment is so displeasing!
It would be nice if you could add some controls in the top-side toolbar of the editor so the users can specify the proper direction and/or alignment of texts they are posting.
Another approach can be automatic detection of language's direction and default text alignment based on the first strong unicode character. (I used this approach here using js and css but it does not apply on newly loaded posts by ajax.)
The other quick fix may be that we put dir="auto" align="justify" attributes in paragraphs and list items elements. Anyway it looks odd somehow.
I already opened an issue in composer plugin github but not heard any updates regarding it.