Opened 9 years ago

Closed 9 years ago

#13469 closed Bug (invalid)

RTL - Isn't working

Reported by: kezz Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

RTL doesn't seem to actually work.

I can't get it to work on the demo page either.

http://ckeditor.com/demo#full

I click the buttom "Text direction right to left".

It seems like all it does is do an align right. Instead of actually writing it RIGHT to LEFT.

I have tried forcing it to work RTL inside config.js with:

config.contentsLangDirection = 'rtl';

Still doesn't work just basically does right align.

Also tried

instance = CKEDITOR.replace('Body'); instance.config.contentsLangDirection = 'rtl';

Still just does an align right without actually writing right to left.

Am I missing something?

Thanks

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
  1. If you want to use CKEditor in RTL mode, please use one of RTL languages like Hebrew. Please define in your config.js {config.language = 'he';. You can also check languages sample - http://sdk.ckeditor.com/samples/uilanguages.html
  2. Please note that if you are using LTR language in your Operating System and set RTL mode in CKEditor, typing in editor will not give “mirror reflection” result. This isn't editor fault but simply how browsers handle it. Basically you should not use RTL language in LTR container and vice versa.
    To get best result please set RTL language in your editor and in your OS.

ADDITIONAL NOTE: It is also possible to assign RTL language on "block level" - http://sdk.ckeditor.com/samples/language.html

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy