[TYPO3-RTE] New class does not show up in selector list
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Mon Jan 28 23:18:28 CET 2008
Uschi Renziehausen schrieb:
> Denis Bilodeau wrote:
>> This is going to be humiliating, but if anyone ever encounter the same
>> problem...: I simply forgot to re-reference the right stylesheet in
>> the TS page config. So the RTE selector was still getting its list of
>> classes from the old stylesheet, which was still there.
>>
> Hello Denis,
>
> I) to harmonize the contents of your rte.css and your normal css you
> could do the following:
> 1) divide your css for the frontend into e.g. layout.css and
> content.css. In the content.css you only define what you need in RTE as
> well.
> 2) create a file rte.css, and in this one use @import to integrate your
> content.css.
I usually add some extra CSS code like default font and link styles into
rte.css. It's of course a duplication of code found in layout.css, but
in the end it's still more clean and the styles in the RTE field are
more usable to the editor.
Masi
More information about the TYPO3-project-rte
mailing list