tags:

views:

189

answers:

0

I am using TinyMCE, version 3.0.8, and I have a problem which I don't know how to solve. I am new to TinyMCE and so, I say I'm sorry in advance if my question is too stupid but I haven't found an answer for it anywhere.

I have one client which wanted to have a different behaviour when using the HTML editor from tinymce. This client would like to insert the HTML code and preserve its contents. He puts, for instance, the following HTML code in the text field are after choosing the HTML advanced editor:

<object classid="java:AppletExercise.class" type="application/x-java-applet" archive="mgallery/default.asp?obj=2605" width="500" height="240" >
<!-- Konqueror browser needs the following param -->
<param name="codebase" value=".">
<param name="zipDocument" value="mgallery/default.asp?obj=3077"/>
<param name="font" value="Verdana"/>
<param name="appletSize" value="trues"/>
<param name="scrollSpace" value="trues"/>
<param name="showErrors" value="true"/>
<param name="showCorrectResponse" value="trues"/>
<param name="reloadButton" value="true"/>
<param name="showImageFeedback" value="true"/>
<param name="showHintButton" value="true"/>
</object>

And it presses the button Update. After this, when he tries to edit the content back, again, the content is not the same. Instead, it is now the following:

<object id="0" height="240" width="500" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="mgallery/default.asp?obj=3077" name="zipDocument" />
<param value="Verdana" name="font" />
<param value="trues" name="appletSize" />
<param value="trues" name="scrollSpace" />
<param value="true" name="showErrors" />
<param value="trues" name="showCorrectResponse" />
<param value="true" name="reloadButton" />
<param value="true" name="showImageFeedback" />
<param value="true" name="showHintButton" />
<param value="0" name="id" /><embed id="0" height="240" width="500" showhintbutton="true" showimagefeedback="true" reloadbutton="true" showcorrectresponse="trues" showerrors="true" scrollspace="trues" appletsize="trues" font="Verdana" zipdocument="mgallery/default.asp?obj=3077" codebase="." type="application/x-shockwave-flash"></embed>
</object>

Is there a way for me to control this behaviour?