Search code examples
ckeditorindentationdisabled-control

CKEditor 4: outdent icon is disabled when none-text


In ckeditor, when textarea has notext, outdent icon is being disabled. I researched but can't find any solution (I Know that I couldn't look at right where :) ).

How can I do available this icon?

enter image description here

At ckeditor's web-site this icon is available. (http://ckeditor.com/addon/tweetabletext at the bottom of page-comment area)

Thanks..


Solution

  • As written on the Indent plugin page, the indenting functionality is split into two parts: indenting lists and indenting blocks, both handled by separate plugins.

    The CKEditor package that you use apparently contains only the Indent and Indent List plugins, but does not contain the Indent Block plugin, so the buttons are disabled for text blocks. See the installation packages comparison here. Download another preset (Full) or use CKBuilder to add the missing plugin to your package and create a custom build.