#1865: Contextmenu in last row of a table with thead doesn't work
-------------------------------+--------------------------------------------
 Reporter:  kwillems           |       Owner:  alfonsoml      
     Type:  Bug                |      Status:  assigned       
 Priority:  Normal             |   Milestone:  FCKeditor 2.6.4
Component:  UI : Context Menu  |     Version:  FCKeditor 2.5.1
 Keywords:  Confirmed          |  
-------------------------------+--------------------------------------------

Comment(by kwillems):

 Attached is a new patch for fcktablehandler.js

 The main problem in fcktablehandler.js is the fact that _InstallTableMap()
 doesn't handle thead's the proper way.
 Instead of building a new _InstallTableMap() I copy al the contents of
 thead into the first tbody before making the call to _InstallTableMap().
 Afterwards the thead is reinstalled.

 There was an issue I stumpled upon.
 After merging down cells empty rows appear, whereas the cells in the
 previous non_empty row have a wrong rowspan.
 I made a function to handle this (the removal of those empty rows in Gecko
 is a bit dirty; perhaps someone can improve that part).

 Well anyway, things are working better than ever before.

 Regards,
 Koen Willems

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1865#comment:17>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to