[TYPO3-rte] RTE CSS Customization
Stanislas Rolland
typo3 at sjbr.ca
Tue Nov 27 13:53:57 CET 2012
Hi Radu,
>
> I'm having some issues with customising the classes shown in the RTE in the BE.
> I've linked to a CSS file where I have defined all the classes/styles, they show up in the list of
> available classes but the selection does not work for <table> and <td> tags.
> It works for <th> though and for the others, <p>, <ul>, <div> etc
>
> If I manually write the table or td class in the source code of the content and then save it, the class is saved
> and shown in the FE. So it's only the BE selector/dropdown which does not set my class.
>
> Here's my PAGE TSConfig code:
> ------
>
> RTE.default {
> contentCSS = fileadmin/templates/rte/hotels.css
> classesTable = horizontal-minimalist-a, contenttable
> classesTD = td_style_1
> proc.allowedClasses := addToList(horizontal-minimalist-a, contenttable, td_style_1)
> }
>
classesTable and classesTD are deprecated.
Try
RTE.default.buttons.blockstyle.tags {
table.allowedClasses = horizontal-minimalist-a, contenttable
td.allowedClasses = td_style_1
}
Regards,
Stanislas
More information about the TYPO3-project-rte
mailing list