I'm having an issue where CKEditor module is not respecting the specified load locations given in the configuration settings (in Drupal, not the config file).

Basically, if I add ckeditor.config.js to my theme, it gets loaded correctly, but the the original config file from the module gets loaded after it, either overwriting my settings, or adding to them.

The same issue is occurring with ckeditor.styles.js, however it is just overwriting my styles altogether.

Deleting the original ckeditor.config.js seems to fix this.

An additional side effect, is that if the theme has a theme parent, and the theme parent ALSO has a config file, that file is loaded as well.

It seems that CKEditor should either:
a) Only load the specified config file
- or -
b) Load the module => parent => theme, so that they are overridden in a useful order

Comments

xtfer’s picture

Title: ckeditor.config.js is not loaded from the correct location » ckeditor.config.js is not loaded from the correct location (when Devel module code block enabled)
Version: 6.x-1.x-dev » 6.x-1.1
Status: Active » Closed (won't fix)

Finally discovered that this was being caused by the Devel modules execute PHP block, which was ignoring the config.js assignment. Setting this field not t load the editor removed the issue, however it looks like there is still a potential bug there.