Jump to content

CKEditor RTL!


Faisal
 Share

Recommended Posts

Hi all

Adding "rtl" Right to Left support to the template have no problem rather the website is RTL only or RTL and LTR.

*with a lot of ways

But when it comes to the CKEditor,

If the website is RTL only it's no problem according to http://ckeditor.com/forums/CKEditor-3.x/No-BiDi-or-RTL-LTR-button-or-option-or-plugin-Drupal

So in file: /wire/modules/Inputfield/InputfieldCKEditor/ckeditor-4.4.3/config.js

In the CKEDITOR.editorConfig = function( config ) { I just add

config.contentsLangDirection = 'rtl';

But what If I use multi language,

English (ltr) and Arabic (rtl) ?!!

I want the English body filed to show the editor ltr (default display) and the Arabic rtl (showing the content from Right to Left for easy editing)

Its the same problem in TinyMCE here

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...