[Typo3] RTE & Classes

Peter Niederlag niederlag at ikd01.de
Wed Feb 2 08:13:47 CET 2005


Hi,

Michael Cannon schrieb:
> I'm feeling pretty dumb. I've worked my way through Typo3.org and the 
> mailing list for a premium answer to getting the RTE to keep my class 
> assignments.
> 
> I can get the RTE to show my class options, however when the content is 
> viewed, the class is missing.
> 
> The RTE is pulling in the classes via a css file. Do I need to further 
> the Typo3Script with which classes are authorized?
> 
> I've tried many combinations, but have had no success.

Please be more prcise if you expects answers. show your code and explain 
where you put it.

The RTE Configuration via TSConfig only provides the classes in 
RTE/Editing-Interface. You also need some CSS file to be included on 
your website that defnes some css-styles for your class in order to get 
some visual results.

also there is a Typoscript property that will let you include the CSS 
from RTE configuration to the website, search TSRef for something like 
"includeCSSfromRTE" or similar.(I never use it)

also make sure HTMLparser won't sweap your class attribute, or <span> 
tag(doesn't by default).

Cheers,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *



More information about the TYPO3-english mailing list