text direction in CK Editor

Xulfee picture Xulfee · Jun 26, 2010 · Viewed 8.1k times · Source

How can I set text direction [rtl] on load editor?

Answer

Pekka picture Pekka · Jun 26, 2010

According to the docs, this should do it:

CKEDITOR.config.contentsLangDirection in the CKSource manual

Example taken from there:

config.contentsLangDirection = 'rtl';