CKEDITOR not working on certain models

256 views
Skip to first unread message

Thomas Weholt

unread,
Apr 21, 2015, 7:47:47 AM4/21/15
to django...@googlegroups.com
I've used CKEDITOR to turn my models.TextArea() fields into nice editors for a long time, but suddenly some of my pages throws the following exception:

Uncaught Error: The specified element mode is not supported on element: "meta".

I've googled it and tried several solutions, like:

CKEDITOR.dtd.$editable.textarea = 1
CKEDITOR.replace('description');

in my document_ready-section of my page, but it still doesn't work. 

The problem only applies to some models and they all share the same abstract superclass. I cannot figure out why a javascript-package, running in the browser, handling the exact same html as before should suddenly stop working because I added some fields using an abstract model with fields not even being rendered on the page which has now stopped working. 

Any hints?

--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
Reply all
Reply to author
Forward
0 new messages