[TYPO3-RTE] Click-enlarge image: Adding a css class to the link

Stanislas Rolland typo3 at sjbr.ca
Sat Oct 25 04:30:07 CEST 2008


Moreno Feltscher a écrit :
> On Sat, Oct 25, 2008 at 1:56 AM, Stanislas Rolland <typo3 at sjbr.ca> wrote:
>> To what element do you want to apply the class? The enlarged image? the
>> link that closes the window? the body of the window?
> None of them. I want to add the class to the a-tag which encloses the
> small image in the content. Or in other words: the link you have to
> click to enlarge the image should have this class.
> 
> Would be brilliant if there is a way to do that!
> 
This is not currently possible.

Please try the attached patch and set:

lib.parseFunc_RTE.tags.img.postUserFunc.stdWrap.addParams.class = enlargeImg

Regards,
Stanislas

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_clickenlarge_stdwrap.patch
Url: http://lists.netfielders.de/pipermail/typo3-project-rte/attachments/20081024/881e543f/attachment.txt 


More information about the TYPO3-project-rte mailing list