Hi when I use two style tags in source html like this:
<style>
/*something*/
</style>
<img src="image.jpg">
<style>
/*something else*/
</style>
<img src="other-image.jpg">
then ckeditor cahnges first img src to something like this "data-cke-411-src" and there is no images preview.
Is there a way to fix it??
Well, you need to write
Well, you need to write proper HTML, for starters! :D Anyway, from what I understand, styles are supposed to in head tags, and you can't put img in head - needs to be in body. If you are trying to use CKEditor in full page mode, we have samples of how it can be done.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
style tag can also be in body
style tag can also be in body section - I'm not using head section.
Problem is that even when second style tag is empty it also generates error with preview.