While using the FCKEditor on a project we discovered that attempting to add a table inside of a list item element does not work. When you have configured the table and click the 'OK' button, the table is inserted after the LI item and before the next LI instead of between the open and close LI tags.
Tables should be valid inside of LI items. I just don't know how to fix this without jumping into the FCK source... Can anyone help?
<ul> <li>This is an item</li> <li>This is where the table should be</li> <table> <tbody> <tr> <td>This is where the table actually gets inserted.</td> </tr> </tbody> </table> </ul>
Re: Table Not Inserted In List Item
%installpath%/fckeditor/editor/dialog/fck_table.html
I modified the line in the Ok() method from:
and changed it to: