I am having a problem in Safari. I have customized the templates feature by editing the FCKtemplates.xml doc. I use the following piece of code to align the image to the right:
<img width="200" height="200" align="right" alt="" style="margin-right: -14px; margin-left: 10px; margin-top: -14px;" src="http://www.mysite.com/images/replace.jpg" />
When i replace the 'replace' image in the editor in Safari it strips the HTML coding and screws up the layout of the template in the editor. It simply leaves me with:
<img alt="" src="http://www.mysite.com/images/stories/images/images/myimage.jpg" />
Works fine in FF.
Re: Safari stripping HTML code
Re: Safari stripping HTML code
Basically I paste in a span with some content in it - it has webkit style tags attached to it since I did the copy from Safari...
I paste it into fckeditor. I then save that content into my database. I see within the database that the span and the webkit tags are intact.
I then load the content from the database into my fckeditor pane - at which point it appears fckeditor eats the span tag completely. Not only is the style component removed, but the entire span disappears.
It wasn't clear to me if fckeditor ate the code, or if safari combined with some fckeditor behaviour ate the tag...
again, not sure if it's related to your issue
Re: Safari stripping HTML code