#2893: FCK table handler bug
---------------------+------------------------------------------------------
 Reporter:  Redsz    |       Owner:                 
     Type:  Bug      |      Status:  new            
 Priority:  Normal   |   Milestone:                 
Component:  General  |     Version:  FCKeditor 2.6.4
 Keywords:           |  
---------------------+------------------------------------------------------
 Bug description:

 If the following conditions are met:
 •       there is another text field on the page besides the editor,
 •       the other field gains focus before the editor is done loading, and
 •       the editor button set includes 'TableMergeCells' and/or
 'TableHorizontalSplitCell',
 then there will be a javascript error inside
 FCKTableHandler.GetSelectedCells

 Fix:

 After the line:
       var oParent = FCKSelection.GetParentElement() ;
 We tested whether or not the selection is inside FCKeditor:
       if(FCKTools.GetElementDocument(oParent) != FCK.EditorDocument)
             return aCells ;
 (returning an empty array if the selection/cursor is outside FCKeditor)

 This bug was similar to https://dev.fckeditor.net/changeset/827

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2893>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to