The CKEditor cleans the HTML source input to ensure correct HTML output, and to close a potential security vulnerability around user-provided content (particularly, JavaScript).

If you need the output some more complex HTML, you have a number of options: 

  1. Provide configuration for your CKEditor to enable the features you require (, 
  2. Create text-enabled plugins to do what you need (,
  3. Use CSS and django CMS Style to provide the required classes/markup (
Did this answer your question?