Experimental project

This is a sandbox project, which contains experimental code for developer use only.

What?

Adds the field's body classes to every CKEDITOR instance. Automatically adds these:

  • type-ENTITY_TYPE (eg. type-node)
  • bundle-BUNDLE (eg. bundle-page)
  • field-FIELD_NAME (eg. field-body)

and you can add more in the field instance config.

Why?

Because your front-end has very specific styling, per field, per node type etc, so your WYSIWYG should reflect that same very specific styling. In some fields, bold is always red. Make it so.

Project information