I'm using 3.0.1 and trying to insert flash. It inserts the correct markup initially but then strips it all out again! When I initially do it the code is as follows:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="wmode" value="opaque" /><param name="allowScriptAccess" value="samedomain" /><param name="scale" value="noborder" /><param name="movie" value="/Userfiles/Flash/preview/Bear.flv" /><embed allowscriptaccess="samedomain" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" scale="noborder" src="/Userfiles/Flash/preview/Bear.flv" type="application/x-shockwave-flash" wmode="opaque"></embed></object>
Re: Flash insertion code gets stripped!
Any Ideas?
Re: Flash insertion code gets stripped!
Before I call replace I'm outputting the html of the div I'm replacing. Firefox and Chrome get passed this to the ck instance
Re: Flash insertion code gets stripped!
This is another of the reasons why I stated that the .replace() method isn't too useful in real life.
Re: Flash insertion code gets stripped!
I changed the code to now use appendTo but I still have the same issue. I'm pretty sure now that its an IE 'feature' that is causing the issue but I need to stop CK from stripping the items out. To clarify:
1. Source of the document is correct