[TYPO3] problem customizing rtehtmlarea with css styles

typo3 at distopia.com typo3 at distopia.com
Wed Feb 15 04:53:23 CET 2006


hi,


i've already searched all the archives and tutorials, found the answers,
but couldn't make things work here.

i need to configure rtehtmlarea so people can only format text using the
styles i have created. i have already successfuly removed the buttons i
don't need, but i just can't seem to get the styles to work.

the "paragraph" and "text" style selectors appear, but they are grey and
can't be modified.

i'm using typo3 4.0beta2 with the latest version of rtehtmlarea.


is anyone able to tell what i'm doing wrong? i've tried all possible
solutions, but none worked...



this is my User TSConfig


############## START TSCONFIG ################

options.RTEkeyList =
blockstylelabel,blockstyle,textstylelabel,textstyle,cut,copy,paste,bold,italic,underline,orderedlist,unorderedlist,link
options.HTMLAreaPluginList =
DynamicCSS,InlineCSS,ContextMenu,TYPO3Browsers,FindReplace,RemoveFormat,CharacterMap,QuickTag,InlineCSS,DynamicCSS,UserElements,TYPO3HtmlParser

############### END TSCONFIG #################




and this is my Page TSConfig

############## START TSCONFIG ################

RTE.classes {
   texto {
       name = Texto
       value = font: 11px; color: #333333;
       }
   titulo {
        name = Titulo
        value = font: 13px; color: #FF9900;
       }

   subtitulo {
        name = SubTitulo
        value = font:12px; color:#FF9900;
       }
}

RTE.default.classesParagraph = texto, titulo, subtitulo
RTE.default.classesCharacter = texto, titulo, subtitulo

############### END TSCONFIG #################



thanks,
celso




More information about the TYPO3-english mailing list