Monday, July 4, 2011

How to remove few formatting options from CK editor.

  • Download and install CK editor.
  • Make sure that you have given the permissions.
  • Associate the roles with the CK editor profiles.
  • Now edit the appropriate profile. For example if you want to edit the CK editor for the authenticated user then you will have to edit the Advanced profile editor.


  • Click open the "Advanced Options" fieldset.





And copy paste the following code so that it looks like the image on the right.
format_tags = 'p;pre;h4;h5;h6'
removeFormatTags = 'b;big;code;del;dfn;em;font;i;ins;kbd;q;samp;small;span;strike;strong;sub;sup;tt;u;var;h1;h2;h3' 




No comments:

Post a Comment