#2487: Split non-header cell in table with <thead> throws JavaScript error
----------------------+-----------------------------------------------------
Reporter: shri046 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: FCKeditor 2.4
Resolution: | Keywords: Confirmed
----------------------+-----------------------------------------------------
Changes (by arczi):
* keywords: => Confirmed
* version: SVN => FCKeditor 2.4
Comment:
1. Insert source:
{{{
<table cellspacing="1" cellpadding="1" border="1" width="200">
<thead>
<tr>
<td>11</td>
<td>22</td>
</tr>
</thead>
<tbody>
<tr>
<td>33 </td>
<td>44 </td>
</tr>
<tr>
<td>55 </td>
<td>66 </td>
</tr>
</tbody>
</table>
<p> </p>
}}}
2. In WYSIWYG. right-click 33 > Cell > Split cell horizontally
You've got an error:
{{{
cell is undefined
http://localhost/edytor/FCKeditor/tags/2.6.3/editor/_source/internals/fcktablehandler.js
Line 702
}}}
{{{
701 var cell = tableMap[i][j] ;
702 if ( cell.parentNode )
703 cell.parentNode.removeChild( cell ) ;
704 cell.colSpan = cell[rowSpanAttr] = 1 ;
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2487#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac