[TYPO3-rte] Automatically append class to header tag
Christian Hennecke
christian.hennecke at wunderknaben.com
Wed Apr 18 16:37:36 CEST 2012
Am 13.04.2012 15:16, schrieb Chris Müller:
> Hello,
>
> I want to apply a css class to a header tag. For Example, if the user
> selects an "Heading 2" block style not only a <h2> should be used, but a
> <h2 class="h2">. The editor should not select a class manually. This
> should be happen automatically. Is this possible?
Certainly. Look at lib.stdheader.10.2.dataWrap in css_styled_content for
second level headers.
Cheers,
Christian
More information about the TYPO3-project-rte
mailing list