Last active
April 15, 2016 14:47
-
-
Save alrnz/76ad244bf870a59b804e7cff9486ce2b to your computer and use it in GitHub Desktop.
Add classes to RTE for span/div/p
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.product{ | |
color: #00964f; | |
} | |
div.product{ | |
color: #00964f; | |
} | |
span.product{ | |
color: #00964f; | |
} | |
p.product{ | |
color: #00964f; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RTE.classes { | |
product { | |
name = Produkt | |
value = color:#9A3811; | |
} | |
} | |
RTE.default { | |
ignoreMainStyleOverride = 1 | |
useCSS = 1 | |
showTagFreeClasses = 1 | |
contentCSS = EXT:typo3sz_assets/Resources/Public/css/rte.css | |
buttons { | |
blockstyle.tags.div.allowedClasses := addToList(product) | |
blockstyle.tags.p.allowedClasses := addToList(product) | |
textstyle.tags.span.allowedClasses := addToList(product) | |
} | |
proc.allowedClasses := addToList(product) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment