#3894: [FF3] Script load and editor init problem
----------------------+-----------------------------------------------------
  Reporter:  damo     |       Owner:  garry.yao    
      Type:  Bug      |      Status:  assigned     
  Priority:  High     |   Milestone:  CKEditor 3.0 
 Component:  General  |     Version:               
Resolution:  fixed    |    Keywords:  IBM Confirmed
----------------------+-----------------------------------------------------
Changes (by garry.yao):

  * status:  new => assigned


Comment:

 The problem here is 'onload' event is never fired when we write data to
 the editor frame data. As Damian noticed, it's actually a regression of
 [3794], but we don't really need to revert anything of  it, because the
 fixing is targeting other bugs.[[BR]]
 I guess the root cause is that Firefox is trying to optimize by loading
 the iframe as soon as the 'src' attribute is assigned. Which cause the
 following '''wrong''' execution sequence in this browser:
  1. iframe is created.
  1. src attribute is assigned.
  1. document writing begin.
  1. document closed.( Checking to fire 'onload' here, but iframe is not
 added yet )
  1. iframe is added to main frame.
 An simple workaround could be found to swap 4 and 5, then we could get the
 right result, a path will come soon.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3894#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to