Opened 8 years ago

Closed 8 years ago

#13469 closed Bug (invalid)

RTL - Isn't working

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


RTL doesn't seem to actually work.

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

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?


Change History (1)

comment:1 Changed 8 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 -
  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" -

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