#1764: StartupFocus is false but FCKEditor steals focus anyway in IE
----------------------+-----------------------------------------------------
  Reporter:  randall  |       Owner:                 
      Type:  Bug      |      Status:  new            
  Priority:  Normal   |   Milestone:                 
 Component:  General  |     Version:  FCKeditor 2.5.1
Resolution:           |    Keywords:  Confirmed IE   
----------------------+-----------------------------------------------------
Comment (by martinkou):

 The culprit to this bug is found to be the following three lines in
 fck.js, inside the function _FCK_PaddingNodeListener():

 {{{
         range.select() ;
         if ( clearContents )
                 range.pasteHTML( '' ) ;
 }}}

 What happened was this:

  1. The padding node listener found the document to be empty, and added a
 <p> or <div> automatically to conform to the EnterMode setting.
  1. The padding node listener then moved the caret into the newly added
 block element.
  1. But moving the caret means the editor would be focused as well.

-- 
Ticket URL: <https://dev.fckeditor.net/ticket/1764#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to