How to customize CKEditor format configuration 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)
To remove entries from "Format" selection list of ckeditor just follow in the drupal admin menu :

Configuration >> Content authoring >> Ckeditor

Edit the concerned profile(s) and within the Cleanup and Output section change the "Font formats" list, removing the tags you don't want.

Save and clear your caches.