Search code examples
javascriptckeditorbidi

CKEDITOR bidi buttons disabled


When adding the bidi plugin to the ckeditor I manage to add the rtl and trl buttons on the toolbar but they are disabled.

Does anyone know how to enable them?

Thank you!


Solution

  • Have you got custom allowedContent setting? If so, you need to add rules which will enable bidi buttons. For example:

    config.allowedContent = yourCrrentRules +
        '; h1 h2 h3 h4 h5 h6 table ul ol blockquote div tr p div li td[dir]';