Hi,
While using ckeditor to add an image, the image is displayed and it works fine.
But when this code is saved in my database and then later reloaded into a ckeditor, the images don't show up anymore, although if you look at the source the <img> tags are still there.
On the website frontend, the images are showing correctly, so it seems to be a ckeditor problem.
Any idea how I can fix this?
This isn't normal behavior.
This isn't normal behavior. If the image tags and link is there in source, it should appear. You get this in every browser? Looks to me like the problem is somewhere else.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Yeah, this started up with me
Yeah, this started up with me as well in the most recent update. All I did was update. Then bam, images stop showing. But the code is there.
Tested in FF, Chrome, Safari and IE. No images.
My issue is caused by this,
My issue is caused by this, which was working before the latest update.
config.protectedSource.push( /<i[\s\S]*?\>/g ); //allows beginning <i> tag
config.protectedSource.push( /<\/i[\s\S]*?\>/g ); //allows ending </i> tag
I am using icons and I use, as well as many others, the i tag. I recall finding this code to help prevent it from removing those. But like I said, last update now has this not showing images.