#1752: E.tagName has no properties when using tablecommands plugin.
-------------------------+--------------------------------------------------
Reporter: keith.pitt | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version: FCKeditor 2.4
Resolution: | Keywords: Confirmed Review?
-------------------------+--------------------------------------------------
Changes (by arczi):
* keywords: => Confirmed Review?
* version: FCKeditor 2.5.1 => FCKeditor 2.4
Comment:
Steps to reproduce:
1. In fckconfig.js add:
{{{
FCKConfig.Plugins.Add( 'tablecommands' );
}}}
add 'TableHorizontalSplitCell' to default toolbar
2.Paste in source mode:
{{{
<p> </p>
<table width="200" cellspacing="1" cellpadding="1" border="1">
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>11111</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
}}}
3.Back to WYSIWIG
4.Click 11111
5.Click Bold. In FF3 (Vista32) you get an error:
{{{
oCell.tagName is undefined
http://localhost/edytor/FCKeditor/tags/2.5.1/editor/_source/internals/fcktablehandler_gecko.js
Line 51
}}}
{{{
51 if ( oCell.tagName.Equals( 'TD', 'TH' ) )
52 aCells[aCells.length] = oCell ;
}}}
I attached a simple solution.
--
Ticket URL: <http://dev.fckeditor.net/ticket/1752#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