Search code examples
ckeditorright-to-leftbidi

text direction in CK Editor


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


Solution

  • According to the docs, this should do it:

    CKEDITOR.config.contentsLangDirection in the CKSource manual

    Example taken from there:

    config.contentsLangDirection = 'rtl';