[TYPO3-english] Add class to a RTE img
    Pero Peric 
    pperic at mail.com
       
    Wed Oct 29 18:43:51 CET 2014
    
    
  
Ofc. it worked the same sec. i posted this :-D Instead of always = 1 
there should always = 0
regards.
On 29.10.2014. 18:41, Pero Peric wrote:
> Hi,
>
> Anybody knows how can i add a class to an img inserted through a RTE? I
> tried something like this but it didn't work:
>
> lib.parseFunc_RTE {
>       externalBlocks = img
>       externalBlocks {
>           img.stdWrap.HTMLparser.tags.img.fixAttrib.class {
>               default = myClass
>               always = 1
>               list >
>           }
>       }
> }
>
>
> Thx.
>
> Regards.
    
    
More information about the TYPO3-english
mailing list