[TYPO3-english] Add class to a RTE img

Pero Peric pperic at mail.com
Wed Oct 29 18:41:51 CET 2014


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