Whenever I try to insert an image using the insertHtml method, such as using this code:
CKEDITOR.instances.editable.insertHtml('<img src="path"></img>').
This is the error message: Uncaught TypeError: Cannot call method 'checkReadOnly' of undefined
I am using this with the Django web framework, if that matters.
Sometimes, I don't even get an error message, yet it simply doesn't add an image. I don't get this problem adding links or text, just images.
This is not a valid HTML what
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+