[TYPO3-core] FYI: Fixed bug #3537: htmlArea RTE: Inconsistent markup when adding tr/td in different ways in Firefox

Stanislas Rolland stanislas.rolland at fructifor.ca
Tue Feb 19 17:41:58 CET 2008


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
In FF, there are two ways to insert a new row or column, either via 
those cute little arrows or using a toolbar button or the context menu 
and then choosing insert row/column before/after.

Unfortunately the resulting markup is inconsistent:

When adding a new row via toolbar button or context menu -> insert 
row/column before/after the editor produces the following code (html-view):
<tr><td>content of cell</td></tr>

But when adding a new row via those neat little arrows, a 
style="vertical-align: top" is added on every cell:
<tr><td style="vertical-align: top">content of cell</td></tr>

While these little handles are nice, the style attribute is a 
non-configurable FF feature. The RTE is never involved in the operations 
performed using these small handles.

Solution:
Disable the Firefox handles by default. They may be (re-)enabled by 
setting Page TSConfig property RTE.default.buttons.table.enableHandles.

Bugtracker references:
http://bugs.typo3.org/view.php?id=3537

Branches:
TYPO3_4-2

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_3537.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080219/a02d42b8/attachment.txt 


More information about the TYPO3-team-core mailing list