[TYPO3] own styles in RTE

Stanislav Rusnák monstrozita at gmail.com
Tue Aug 22 13:48:08 CEST 2006


Hi all.

I tried to configure RTE to use my own styles. I wrote this TS into root 
page TSsetup:

## define the RTE-classes:
RTE.classes {
	normal{
          name = normal text
          value = color: #FFFFFF; bgcolor: #000000;
       }
	inverse{
          name = inverse text
          value = color: #000000; bgcolor: #FFFFFF;
       }
}
## define RTE-colors for the color picker
RTE.colors {
       color1 {
          name = color 1
          value = #F1B342
       }
       color2 {
          name = color 2
          value = #F8DF96
       }
       color3 {
          name = color 3
          value = #FFF7BD
       }
       noColor {
          name = no color
          value =
       }
}
## enable the features for the RTE
RTE.default {
       classesCharacter = normal, inverse
       colors = color1, color2, color3, noColor
       showButtons = *


       hideButton = user,chMode
       disableColorPicker = 1
       }
proc {
       	dontConvBRtoParagraph= 1
       	preserveTables = 1
}

When I enter the rich text editor and select some text the text option 
id dimmed.

Does anyone know where is the problem?



More information about the TYPO3-english mailing list