Using JSPWiki and the fckeditor, if I create a new table with a caption, the first row of the table is lost.
For some reason, after adding the table via the Insert/Edit table button and then hitting either Preview or Save, the code gets changed from:
<table cellspacing="1" cellpadding="1" border="1" width="200">
<caption>caption</caption>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
to:
<p><br />
caption | |</p>
<table border="1" class="wikitable">
<tbody>
<tr class="odd">
<td></td>
<td></td>
</tr>
</tbody>
</table>
As you can see, the <caption> caption </caption> gets replaced with <p> </p> and the end result is that I lose the first row in the table.
fckeditor 2.6.3
JSPWiki 2.8.2
Tomcat 5.5.27
I have tried other versions of fckeditor including the latest as well as other versions of JSPWiki.
Current workarounds include using the Sortable Table Template, Zebra Table Template, or manually adjusting the code afterward. Is there something I am missing in a config file?
Thanks.
For some reason, after adding the table via the Insert/Edit table button and then hitting either Preview or Save, the code gets changed from:
<table cellspacing="1" cellpadding="1" border="1" width="200">
<caption>caption</caption>
<tbody>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
to:
<p><br />
caption | |</p>
<table border="1" class="wikitable">
<tbody>
<tr class="odd">
<td></td>
<td></td>
</tr>
</tbody>
</table>
As you can see, the <caption> caption </caption> gets replaced with <p> </p> and the end result is that I lose the first row in the table.
fckeditor 2.6.3
JSPWiki 2.8.2
Tomcat 5.5.27
I have tried other versions of fckeditor including the latest as well as other versions of JSPWiki.
Current workarounds include using the Sortable Table Template, Zebra Table Template, or manually adjusting the code afterward. Is there something I am missing in a config file?
Thanks.