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:

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

Any idea?

Comments

Issue summary:View changes

Added plugin structure

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.

Issue summary:View changes

Added more info.