I get the error "Resource interpreted as Image but transferred with MIME type text/html" when I try to insert an image in the editor in Chrome.
I have narrowed it down to the call to
editor.InsertElement(img);
Can anyone please help me fix this error?