Download & Extend

RTL solution for actual editor content

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

Status:active» postponed (maintainer needs more info)

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

Category:task» feature request
Assigned to:Anonymous» wwalc
Status:postponed (maintainer needs more info)» active

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

Status:active» fixed

Changes commited to CVS, with another select in profile with language direction settings.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.