Posted by morningtime on February 25, 2010 at 7:35pm
4 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 6.x-1.x-dev |
| Component: | Documentation |
| Category: | feature request |
| Priority: | normal |
| Assigned: | wwalc |
| Status: | closed (fixed) |
Issue Summary
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
#1
I 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 ?
#2
I 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.
#3
Changes commited to CVS, with another select in profile with language direction settings.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.