[TYPO3-english] remove classes from RTE block style
Jacco van der Post
jacco at id-internetservices.com
Wed May 4 10:19:30 CEST 2011
Thx but it's not a cache problem.
I think these removeFromList lines are simply not working.
What does work however is setting ignoreMainStyleOverride = 1 and define
some new classes. However than a CSS file must also be provided else the
new classes wont show.
For example this will get rid of the 2 csc frames. But what if you do
not wish to add new classes.
RTE {
default {
ignoreMainStyleOverride = 1
contentCSS = fileadmin/templates/styles/RTE.css
classesParagraph = GillSansLight, GillSansBold, introtext
classesCharacter = GillSansLight, GillSansBold, introtext
proc.allowedClasses := addToList(GillSansLight, GillSansBold, introtext)
}
classes {
GillSansLight {
name = GillSansLight
value = font-weight:normal;
}
GillSansBold {
name = GillSansBold
value = font-weight:bold;
}
introootekst {
name = introootekst
value = font-weight:bold; color:#669900;
}
}
}
Op 3-5-2011 16:51, Riccardo De Contardi schreef:
> What browser are you using? I remember that some times ago Firefox seemed to
> ignore the changes in RTE configuration.
> Try to delete all the TYPO3 temporary files& the browser's cache.
>
>
>
> On 03/05/11 16.29, "Jacco van der Post"<jacco at id-internetservices.com>
> wrote:
>
>>
>> I want to remove Frame with grey background and Frame with yellow
>> background and some other classes from Block Style and Text Style in RTE.
>>
>> I have this in tsconfig however it seems to be ignored :
>>
>> RTE {
>> default {
>> proc.allowedClasses := removeFromList(csc-frame-frame1,
>> csc-frame-frame2, important, name-of-person, detail)
>> classes := removeFromList(csc-frame-frame1, csc-frame-frame2,
>> important, name-of-person, detail)
>> classesParagraph := removeFromList(csc-frame-frame1, csc-frame-frame2)
>> }
>> }
>>
More information about the TYPO3-english
mailing list