#4273: TD > UL > SPAN Causes FCKTableHandler.GetSelectedCells() to return nothing on right click -------------------------+-------------------------------------------------- Reporter: dshafik | Owner: Type: Bug | Status: new Priority: Normal | Milestone: FCKeditor 2.6.5 Component: General | Version: FCKeditor 2.4.3 Keywords: **Firefox** | -------------------------+-------------------------------------------------- This is an involved issue, so bear with me:
1) Create a table 2) Insert a List (UL or OL should trigger the issue) 3) Add some text to the list item, and style is using the Style drop down You end up with something like: {{{ #!xml <table> <tr> <td> <ul> <li><span style="color: red">Text</span></li> </ul> </td> </tr> </table> }}} Then, right click on the span, and go to {{{Cell > Cell Properties}}} and try to set {{{Horizontal Alignment}}} to {{{Right}}} and click {{{OK}}}. You end up with nothing being changed. The reason is, FCKTableHandler.GetSelectedCells() at source:/FCKeditor/tags/2.6.4/editor/dialog/fck_tablecell.html#L38 returns no cells. Attached is a patch to correct the issue. -- Ticket URL: <http://dev.fckeditor.net/ticket/4273> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac