Plugins may not be loaded for multiple RTEs
htmlarea's plugins may not be loaded and thus not be available although configured for follow up RTEs, when more than one RTE is rendered.
Reason: The to be loaded plugins are evaluated based only on the very first htmlarea being generated.
Example: have two RTE fields field_1 and field_2 of table some_table shown within the same TCEform with the following configuration:
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.
Solution: Load plugins for all htmlareas.
(issue imported from #M12331)
Updated by Stanislas Rolland about 12 years ago
I think that this is a regression that was introduced by trunk revision 4556 and TYPO3_4-2 branch revision 4670.
I think the first patch is sufficient and will not load the same plugins multiple times.
The RTE may also be used multiple times in a frontend form.