[TYPO3-english] Re: custom class in RTE - Typo3 6.1.3

Viktor Livakivskyi invisible.kinder at gmail.com
Mon Sep 9 12:38:23 CEST 2013


Hi,

> RTE.default.classesParagraph := addToList(lead)     

There is no more such an option in RTE. Instead you should use:
RTE.default.buttons.blockstyle.tags.p.allowedClasses = lead

You may use any tag, instead of 'p', so f.e. if you want same class be applicable for all div-tags, you should add as well:
RTE.default.buttons.blockstyle.tags.div.allowedClasses = lead


More information about the TYPO3-english mailing list