<div style="color:#fff;background-image: url("image/catalog/barback.png");"></div>
If you add this div in code view when you save or return to edit view it completely destroys any other image tags etc
I am guessing the brackets with quotes is causing the issue however I could find no workaround whatsoever
It is very bizarre what the code editor does to the file.
It turns it into this
<div style="background-color:#666;color:#fff;background-image: url(" img="" catalog="" barback.png";="">
It is seriously messed up I do not understand how or why this should happen in code editing.
Code: Select all
<div style="color:#fff; background-image: url('image/catalog/barback.png');"></div>
If you try it you will see - It saves in every case but completely destroys the code. Why does the editor interfere at all when using code edit.
You cannot save from code edit so you switch back to save and thats when it breaks.
When using single quotes which was my first guess it doesn't break the code the same but the image will not display - on any browser
The image is just not there - The only workaround I used was to create an image div and position text on top. But this breaks when viewing on ipad
All you have to do to reproduce is make html module place on page. Now edit and add this
<div style="height:60px;background-color:#666;color:#fff;font-size:24px;background-image url("image/catalog/barback.jpg");">
Then try any combination of anything you want to get the image to display - It won't and or the code will break especially if there is more code and an image tag following on
It's looks like Summernote is being replaced with CKEditor in future versions. You might also find some replacement editors in the marketplace.
Code: Select all
$value['description'] = html_entity_decode($value['description']);
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.