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

Stanislas Rolland typo3 at sjbr.ca
Wed Nov 12 09:00:26 CET 2008


Stanislas Rolland a écrit :
> Moreno Feltscher a écrit :
>> 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
> 
This is now committed to SVN trunk for inclusion in TYPO3 4.3-alpha1.

Regards,
Stanislas



More information about the TYPO3-project-rte mailing list