#2932: AJAX sample fails to populate editing area after subsequent editor
instantiations in FF 3 [IBM]
---------------------+------------------------------------------------------
 Reporter:  damo     |       Owner:                   
     Type:  Bug      |      Status:  new              
 Priority:  Normal   |   Milestone:  CKEditor 3.0     
Component:  General  |     Version:  CKEditor 3.0 Beta
 Keywords:           |  
---------------------+------------------------------------------------------
 Instances of the editor which have been dynamically created using
 CKEDITOR.appendTo() fail to properly handle insertHTML(). The first
 instance of the editor works as expected but when that instance is
 destroyed and another created in its place, the second instance and all
 subsequent instances will fail to handle insertHTML().

 The behavior can be reproduced by following these steps:[[BR]]
 1. Open http://ckeditor.com/ckeditor/3.0b/_samples/ajax.html [[BR]]
 2. Create editor[[BR]]
 3. Enter content into editing area[[BR]]
 4. Destroy editor[[BR]]
 5. Create another editor[[BR]]
 [[BR]]
 Expected behavior is that the entered content would be populated in the
 new editor instance, but it isn't.

 The cause has been tracked down to the mode of the editor not being set
 before setHTML() is called.

 A temporary fix for the problem is to update
 CKEDITOR.editor.prototype.setMode declared in the editingblock plugin and
 explicitly set the mode (see patch).

 The erroneous behavior appears to occur only in Firefox 3.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2932>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to