Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Created August 19, 2015 07:05
Show Gist options
  • Save ABooooo/97f2025734f82cb3e7d4 to your computer and use it in GitHub Desktop.
Save ABooooo/97f2025734f82cb3e7d4 to your computer and use it in GitHub Desktop.
RTE Classes
RTE.classes {
footerLinks {
name = Footer Links
value = color:#FF6600;
}
className {
name = Auswahltitel (steht dann in „Block style“ Auswahlfeld)
value =color:#aabbcc; /* Inlinestyles des Auswahlfelds */
}
}
RTE.default {
/* … */
# Allow classes for FE
proc.allowedClasses := addToList(footerLinks, className) // Neue Klasse in der kommagetrennte Liste einfügen
}
CSS:
TAG.className {
/* Styles für den betroffenen Inhalt im RTE */
Border: 1px solid #aabbcc;
… etc …
}
https://axelerant.com/add-custom-css-classes-to-the-typo3-rte/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment