As in sample 8 the API call using a button works as expected.
<input type="button" value="Insert HTML" onclick="InsertHTML('FCKeditor1');" />
But using the same onclick event in a <div> or <p> will only place the new text at the beginning of the existing text in internet explorer.
<p onclick="InsertHTML('FCKeditor1');">testing</p>
It work OK in Firefox. Any ideas how to fix this?
<input type="button" value="Insert HTML" onclick="InsertHTML('FCKeditor1');" />
But using the same onclick event in a <div> or <p> will only place the new text at the beginning of the existing text in internet explorer.
<p onclick="InsertHTML('FCKeditor1');">testing</p>
It work OK in Firefox. Any ideas how to fix this?
