[TYPO3-RTE] mainStyleOverride

Arnold Gordijn agordijn at xperteam.nl
Tue Oct 23 12:35:54 CEST 2007


ulrich becker wrote:
> hello,
> 
> the appearence of the rte-form depends on the htmlarea-edited-content.css. 
> as far as i understand the manual, it is possible to get rid of it by using
> RTE.default.mainStyleOverride in the pageTSConfig
> 
> i tried a lot of different versions of  body.htmlarea-content-body,  e.g.
> 
> RTE.default.mainStyleOverride.body.htmlarea-content-body { 
> font-family:....}
> RTE.default.mainStyleOverride.body.htmlarea-content-body  = { 
> font-family:....}
> 
> and may more. but (so far) without success.
> 
> it would be great, if somebody give me working example.
> 
> thanks
> wini2
> 
> 
> 
Well while looking for the anser of the same problem.
 >>RTE.default.mainStyleOverride (

 >>

 >>Notice the last character ;-)

 >>Of course you have to change the end-bracket as well.
RTE.default.mainStyleOverride (
body.htmlarea-content-body {
  background-color : red;
  border: 1px black solid;
}
)

good luck
Arnold


More information about the TYPO3-project-rte mailing list