Allow classes and ids in the new CKEditor

Kristian Polso • June 22, 2014

Ckeditor Drupal 7 Drupal Planet

One of the first things I usually need to do when installing a new Drupal site, is to change the settings in the new (version>4) CKEditor so that I can type classes and ids and not have them strip out.

To do this, do the following:

 config.allowedContent = true; 

This is caused by the new Advanced Content Filter in CKEditor 4.

Share This Post