[TYPO3-core] RFC #9613: RTE uses JScodeLibArray to insert CSS
Stanislas Rolland
typo3 at sjbr.ca
Wed Oct 22 21:12:11 CEST 2008
Stanislas Rolland a écrit :
>
> Solution:
> The attached patch adds array $additionalHeaderData to class template,
> and uses it to add the additional head section content needed by the
> RTE. $GLOBALS['TSFE']->additionalHeaderData is used instead when available.
>
Attaching a better patch for trunk.
This patch adds method addStyleSheet($key, $href, $title, $linkType)
to class template. The method is then wrapped by t3lib_TCEforms,
redefined in t3lib_TCEforms_FE in order to use the TSFE array. Similar
method is added to rtehtmlarea_base and tx_rtehtmlarea_pi2 (frontend use
of the RTE).
Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_bugfix_9613_trunk_v2.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081022/71b0a8fe/attachment.txt
More information about the TYPO3-team-core
mailing list