Configure config.toolbar and I loose the image Solved

User's avatar
Thomas M.
15:03 Jun 25, 2014
Hi,

I have an odd behaviour here. Using the default ckeditor/config.js with the plugin added (of course) I can upload images, that remain in place when re-editing the page. However if I attempt to edit the toolbar setup I loose the image on page refresh! Comment out the toolbar config and the image appears again on refresh... it's most perplexing! Any guidance? :)
User's avatar
Thomas M.
15:27 Jun 25, 2014
I started over with the default toolbar configuration, refreshed, and the images load. then by a (long) process of elimination I figured out...wait for it... that I HAVE to have:
{ name: 'insert', items : [ 'Smiley' ] },

loading, in order to get the images showing in the editor.

I know.

To confirm I went all the way back to where I started. With my "perfect" toolbar setup. Added the (not required) "Smiley's" and the images sprang back into view.

What the? (I suppose that Smileys are actually calling something that is required?!)
Support team avatar
JS+
21:42 Jun 29, 2014
Hello,

This is really very strange. The first of all in these cases I recommend to allow all types of tags:
config.allowedContent = true;

If it not works you need to debug this and try some other CKEditor's options and toolbar configurations (...or may be just to update CKEditor?). In fact he DOKSoft Image/File Upload plugins do not affect to images after they were inserted into the document.