[TYPO3-core] FYI: Fixed bug #12231: htmlArea RTE plugins may not be loaded for multiple RTEs

Stanislas Rolland typo3 at sjbr.ca
Tue Nov 3 00:57:13 CET 2009


FYI: The attached SVN patch was committed.

Type:
Bugfix

Problem:
htmlArea RTE's plugins may not be loaded and thus not be available 
although configured for subsequent RTEs, when more than one RTE is rendered.

Example: Have two RTE-enabled fields field_1 and field_2 of table 
some_table shown within the same TCEform with the following configuration:
RTE.config.some_table {
   field_1.showButtons = undo,redo,copy,cut,paste
   field_2.showButtons = link,undo,redo,copy,cut,paste
}
Result: field_2 will have no link button, since plugin TYPO3Link is 
never loaded.

The plugins to be loaded are evaluated based only on the very first RTE 
area being rendered.

Solution:
This is a regression introduced by trunk revision 4556 and TYPO3_4-2 
branch revision 4670.

The plugins to be loaded should be evaluated based on the cumulative 
array of plugins configured for all RTE areas being rendered.

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

Note:
Thanks to Ralf Hettinger for analyzing this issue.

Branches:
trunk (revision 6313)
TYPO3_4-2 (revision 6314)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_12331_trunk_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091102/ff7b2c82/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_12331_typo3_4-2_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091102/ff7b2c82/attachment.txt>


More information about the TYPO3-team-core mailing list