I tried editing /sites/all/modules/ckeditor.config.js and also tried putting a ckeditor.config.js file into my theme, and set ckeditor to look in my theme for the config file.

I put this code in the file:

CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For the complete reference:
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// Set the most common block elements.
config.format_tags = 'p;h2;h3;';
};

clear cache, etc,

and i still get the default format menu.

Comments

I faced the same problem...
Here is a solution (ugly one)

<?php
function MYMODULENAME_wysiwyg_editor_settings_alter(&$settings, $context) {
  if (
$context['profile']->editor == 'ckeditor') {
   
$settings['format_tags'] = 'p;h2;h3';
  }
}
?>

I'm having this problem as well.

If you place the code in Custom JavaScript configuration under advanced options it works fine but placing the code in ckeditor.config.js does nothing...

I assume that this has something to do with the drupal module having the option to set this from admin/config since I'm also having trouble with config.enterMode and config.shiftEnterMode which are also configurable from admin/config. It would be helpful if the module checked to see if the settings existed in the config file prior to over ridding or, at least, only activated the admin/config settings when deliberately set.

I'm having this same exact problem with config.format_tags. I've also noticed similar problems with any toolbar declarations in ckeditor.config.js