I created a custom plugin that wraps selected text/words in p element with custom class. However when I toggle "Source" the class attribute is gone. Same thing happen when I edit existing node, all the class disappeared.

Plugin structure:

  * icons 
     * qna.png
  * css
     * qna.css
  * plugin.js

Any idea?

Members fund testing for the Drupal project. Drupal Association Learn more


geraldvillorente’s picture

Issue summary: View changes

Added plugin structure

wwalc’s picture

Status: Active » Fixed

Check this comment. Read this blog post. The plugin must be ACF - compatible or you should disable ACF in CKEditor 4.1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Added more info.