I’m having big trouble figuring out hopw to solve this. I’m trying to make an small wysigwyg editor with image insert, and everything is working greate except one thing…
When using Internet Explorer it works fine and comes out like this:
<img src="myimage.jpg style="float:left">
But when using safari or Google Chrome the same comes out like this:
<img src="myimage.jpg style="float:left"">
It have replaced the “” with ".
I’m using this to insert the image after upload:
var imageURL = returnValue;
var style = ' style="float:left"';
var imageURL = imageURL+style;
//alert(imageURL);
test.execCommand("insertimage", imageURL);
How do I solve this???
Thanks in advance