[TYPO3-english] RTE block style
Victor Livakovsky
v-tyok at mail.ru
Thu Dec 4 11:28:39 CET 2008
> I copied EXT:rtehtmlarea/res/contentcsss/default.css to the fileadmin
> and have put this in my pageTSconfig
>
> RTE {
> default {
> contentCSS = fileadmin/templates/styles/RTE.css
> ignoreMainStyleOverride = 1
> classesParagraph = grey, yellow
> classesCharacter = grey, yellow
> proc.allowedClasses := addToList(grey, yellow)
> }
> classes {
> grey {
> name = grey
> value = color:#999999;
> }
> yellow {
> name = yellow
> value = color:#FECD08;
> }
> }
> }
>
> So I ask again how to remove the 2 options "Frame with grey background"
> and "Frame with yellow background"
I cann't understand: you want to remove these options, but then why you
add them into RTE configuration and classes to css-style?
F.e. I have such in Page TS Config:
RTE.default.contentCSS = fileadmin/template/css/style-rte.css
RTE.default {
classesCharacter = externalLink
showTagFreeClasses = 1
}
RTE.default.proc.allowedClasses := addToList(externalLink)
And such in 'style-rte.css':
@charset "utf-8";
/* CSS Document */
/* Lists */
ul.anchors{list-style:none; padding:0px 0px 18px 7px}
ul.list{list-style:none; padding:0px 0px 18px 9px}
/* Links*/
.externalLink{
color: #cc0000;
}
And I have "externalLink" option in "Block style" dropdown, the same in
"Text style". Also for lists two additional options in "Block style"
appear: "anchors" and "list".
Hope, I understood you correctly and my info will be helpful for you.
More information about the TYPO3-english
mailing list