IE Stripping Object Tag
|Reported by:||mcgovern@…||Owned by:|
|Component:||General||Version:||SVN (FCKeditor) - Retired|
|Keywords:||SF Confirmed IE||Cc:|
I am experiencing a problem with FCKeditor while using IE 6. If I load HTML into the editor that contains an object tag with an embed tag (see sample below), the editor strips out the object tag completely. However, the embed tag remains. This does not happen in other browsers. Here is the code I am using.
<object id="audio" width="0" height="0"> <param name="console" value="AudioPlayer"> <param name="controls" value="audioWindow"> <param name="autostart" value="true"> <param name="src" value="YOUR_AUDIO_FILENAME_HERE"> <embed name="audio" width="0" height="0" src="YOUR_AUDIO_FILENAME_HERE" console="AudioPlayer" controls="audioWindow" autostart="true"> </embed></object>
This only happens when reading the HTML into the editor initially. If I cut and paste this code into the editor and stay in source mode, it is not altered, until after I save it to the server and re-load into the editor. At this point it is still correct on the server, but changed in the editor. If I then save it again, the changed version is saved. If I cut and paste this code into the editor but leave source mode before saving, it is changed. The end result seems to always be stripping out the object tag.
Change History (3)
comment:2 Changed 9 years ago by fredck
- Keywords Confirmed IE added
- Milestone set to FCKeditor 2.5
- Version changed from FCKeditor 2.4 to SVN