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

Ralf Hettinger ng at ralfhettinger.de
Tue Nov 3 08:27:55 CET 2009


Thank you :)

Am 03.11.2009 00:57 schrieb Stanislas Rolland:
> 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


More information about the TYPO3-team-core mailing list