[TYPO3-RTE] Paragraph style

Stanislas Rolland typo3 at sjbr.ca
Wed Aug 6 04:27:16 CEST 2008


Hi André,

> RTE.default.classesParagraph = newsHeadline, newsDate
> [...]
> Now shouldn't there be a new Paragraph Style named "Überschrift"? It is 
> not.
> 
There should be if the cursor is positioned in a div element and if 
div.newsHeadline is defined in your stylesheet.

As indicated in the manual, classesParagraph is a synomym of 
buttons.blockstyle.tags.div.allowedClasses, and the latter, if present, 
overrides it.

If you want to allow the classes for p elements, you should use
RTE.default.buttons.blockstyle.tags.p.allowedClasses = newsHeadline, 
newsDate
and define p.newsHeadline in your stylesheet.

Regards,
Stanislas




More information about the TYPO3-project-rte mailing list