Hi,
I've written a plugin that inserts an image tag in to the editor as follows:
The text I'm inserting looks like this:
But when I view the editor source it looks like this:
So it is adding a <p> wrapper (which I can live with) but also is removing my style attribute.
Does anyone know why this is and how I can correct it? I'd very much appreciate any help.
Thanks very much.
I've written a plugin that inserts an image tag in to the editor as follows:
var oEditor = window.parent.InnerDialogLoaded().FCK; oEditor.InsertHtml(txt);
The text I'm inserting looks like this:
<img style="float:left;" alt="" src="/Intra/Auth/Ashx/ImgDL.ashx?id=2948" />
But when I view the editor source it looks like this:
<p><img alt="" src="/Intra/Auth/Ashx/ImgDL.ashx?id=2948" /></p>
So it is adding a <p> wrapper (which I can live with) but also is removing my style attribute.
Does anyone know why this is and how I can correct it? I'd very much appreciate any help.
Thanks very much.