Hi, I am currently implementing a toolbar which includes a text input field for font size. This is working great in Fx but not in IE. The problem with IE is the selection goes away in FCKeditor when I click on the font size input field. This does not generate a onselectionchange event and onblur seems to happen after the selection is lost. I'm hoping someone has an idea about how to either keep the selection, or to save the selection so when the font size is selected I can restore it.
To see the problem add this into the sample01.html:
-----------------------------------
<div>
This sample displays a normal HTML form with an FCKeditor with full ...
</div>
<hr />
<!-- add this -->
<form>
<input type='text' name='test'>
<select>
<option value='one'>one
</select>
</form>
<!-- end add this -->
<form action="sampleposteddata.asp" method="post" target="_blank">
<script type="text/javascript">
----------------------------------
Bring up the sample in Fx and select some text, then click in the input field, the selection is kept.
Do the same in IE and the selection is lost when the input field is clicked.
I realize this is most likely a browser problem, but if anyone has any ideas on how to workaround it I would greatly appreciate it.
To see the problem add this into the sample01.html:
-----------------------------------
<div>
This sample displays a normal HTML form with an FCKeditor with full ...
</div>
<hr />
<!-- add this -->
<form>
<input type='text' name='test'>
<select>
<option value='one'>one
</select>
</form>
<!-- end add this -->
<form action="sampleposteddata.asp" method="post" target="_blank">
<script type="text/javascript">
----------------------------------
Bring up the sample in Fx and select some text, then click in the input field, the selection is kept.
Do the same in IE and the selection is lost when the input field is clicked.
I realize this is most likely a browser problem, but if anyone has any ideas on how to workaround it I would greatly appreciate it.