Вопрос

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!

Это было полезно?

Решение

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]';

Другие советы

I addition to Reinmar, There could be another reason. If you disabled div or p elements in the editor, it will also cause this issue.

E.g. It will be disabled once you set enterMode: CKEDITOR.ENTER_BR to force the enter behavior to 'br'

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top