You can select the language, and indeed the toolbar becomes RTL for Arabic. However, the editor content body doesn't respect that setting, nor the html body/head tags for RTL.
The solution is to add the following to the CKeditor Profile > advanced options > custom javascript configuration
contentsLangDirection = 'rtl';
Can someone add this to the Documentation? Or better yet, turn this into an actual configuration setting under the language option, e.g. Force RTL: Yes/no
Comments
Comment #1
mephir commentedI can't reproduce your problem, i have everything correct. After save, drupal return only text with lte. Can you write something more about web browser, ckeditor version ?
Comment #2
wwalc commentedI think we definitely need two toolbar buttons for easier switching beteen RTL/LTR instead of doing it through styles dropdown list.
Regarding adding contentsLangDirection to the Profile.. hmm that might be a good idea as well.
Comment #3
mephir commentedChanges commited to CVS, with another select in profile with language direction settings.
Comment #5
yuseferi commenteduse this module
https://www.drupal.org/project/ckeditor_bidi
could be helpful.