#2469: FCK.SetData() causes editor to become temporarily non-focusable in IE7.
---------------------------+------------------------------------------------
 Reporter:  martinkou      |       Owner:  martinkou      
     Type:  Bug            |      Status:  new            
 Priority:  Normal         |   Milestone:  FCKeditor 2.6.4
Component:  General        |     Version:  FCKeditor 2.6.3
 Keywords:  Confirmed IE7  |  
---------------------------+------------------------------------------------
 This bug was originally reported by Mathias-S in our IRC channel. To
 reproduce the bug:

  1. 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();"
 />
 }}}
  2. Open sample11.html in IE7.
  3. Type some random characters into FCKeditor 1.
  4. Select the just added characters with some of the previously existing
 text in FCKeditor 1.
  5. Click on the empty space between FCKeditor 1 and FCKeditor 2.
  6. Click "Set Editor Contents".
  7. 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.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2469>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to