I'm using Drupal 7 with CKEditor module and I would like to delete some formats in the dropdown box that is currently labeled "Format". So I modified the config file which is site/all/modules/ckeditor/ckeditor.config.js
. I modified the code like this :
CKEDITOR.editorConfig = function(config) {
// some code here
config.format_tags = 'p;h1;h2;h3'; // I added this line
}
Then I flush all caches of drupal and the cache of browser, but it doesn't work. When I create a new content, I always have all the formats. How to make it work?
(Note : I don't want to customize it from admin/config/content/ckeditor/edit
page)