Ticket #2469 (closed Bug: fixed)
FCK.SetData() causes editor to become temporarily non-focusable in IE7.
| Reported by: | martinkou | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6.4 |
| Component: | General | Version: | FCKeditor 2.6.3 |
| Keywords: | Confirmed IE7 Review+ | Cc: |
Description
This bug was originally reported by Mathias-S in our IRC channel. To reproduce the bug:
- Add the following HTML code to sample11_frame.html right after the submit button's HTML code.
<script type="text/javascript"><!-- function SetContents() { // Get the editor instance that we want to interact with. var oEditor = FCKeditorAPI.GetInstance('FCKeditor_1') ; // Set the editor contents (replace the actual one). oEditor.SetData( 'This is the <b>new content<\/b> I want in the editor.' ) ; } //--> </script> <input type="button" value="Set Editor Contents" onclick="SetContents();" /> - Open sample11.html in IE7.
- Type some random characters into FCKeditor 1.
- Select the just added characters with some of the previously existing text in FCKeditor 1.
- Click on the empty space between FCKeditor 1 and FCKeditor 2.
- Click "Set Editor Contents".
- Try to put the focus back on FCKeditor 1 by clicking it - it doesn't work. If it does, refresh the page and try again.
According to Mathias-S's original report, the bug can be reproduced in IE6 as well. But I wasn't able to do that in IE6.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.