[TYPO3-english] Inline CSS in RTE?

La Farge Douglas doug at gcnpublishing.com
Thu Sep 3 03:40:28 CEST 2009


I should add to this.  I have access to a Typo3 site where CSS styles  
are set up in the Text: menu.  AFter digging through all the TScript  
and everywhere I can think to look I find nothing the resembles any of  
the TScript suggested in German.  Where's it hiding?


On Sep 2, 2009, at 6:37 PM, La Farge Douglas wrote:

> Jacob,
>
> Here's what I've found so far.  This is from the manual.swx.
>
>
> FAQ: How do I configure the editor to use my CSS styles?
>
> In htmlArea RTE, the following style sheets apply to the contents of
> the editing area and are linked in the following order:
>
> 1.the htmlarea-edited-content.css file from the skin in use; it
> contains selectors for use in the editor, but not intended to be
> applied in the frontend;
>
> 2.a css file generated from the mainStyleOverride and inlineStyle
> assignments in Page TSConfig;
>
> 3.the css file specified by property contentCSS in Page TSConfig: you
> may define the styles you want to use in an external CSS file and
> assign the file name to this property.
>
> An additional Page TSConfig property is recognized by htmlArea RTE:
> ignoreMainStyleOverride. If set, htmlArea will ignore the
> mainStyleOverride and inlineStyle sets of assignments and will use
> only files 1 and 3 mentioned above. This allows the Classic RTE to
> apply the css definitions defined in Page TSConfig and the htmlArea
> RTE to use the external css file (presumably containing the same or
> similar css definitions).
>
>
> FAQ: Why does the text style selection list remain empty?
>
> This selection list should display the classes specified by
> RTE.default.classesCharacter. The specified classes must be defined in
> the CSS style sheet contained in the file specified by
> RTE.default.contentCSS. If RTE.default.classesCharacter is empty,
> classes associated with the span tag are used. Classes not associated
> with any tag in the contentCSS style sheet will be displayed only if
> RTE.default.showTagFreeClasses = 1
>
>
> Both of the German how-tos looks really good but once translated loses
> some value.  After reviewing it i'm not finding the direction I need
> to configure this the way I'd like.  Sadly, this can't be that
> difficult yet it's proving to be.
>
> Here's what I'm guessing we need to do.  Somewhere, somehow we tell
> the RTE config, possibly through typoscript, the CSS classes we'd like
> in the Text: menu.  Once those are there it's easy.  You simply add
> those styles a CSS file configured contentCSS and they will be applied
> on the front end.
>
> The trick remains getting them into the Text: menu.  Maybe a couple
> more hours of beating my head against a wall will do the trick
>
>
> On Sep 2, 2009, at 12:29 PM, Jacob Guldberg wrote:
>
>> Ill be listening on this as well.. thanks
>>
>> -----Oprindelig meddelelse-----
>> Fra: typo3-english-bounces at lists.netfielders.de
>> [mailto:typo3-english-bounces at lists.netfielders.de] På vegne af La
>> Farge
>> Douglas
>> Sendt: 2. september 2009 21:22
>> Til: TYPO3 English
>> Emne: [TYPO3-english] Inline CSS in RTE?
>>
>> Hi,
>>
>> I'm looking for the documentation on how to set up the "Text:" menu
>> that appears at the top of the RTE in Text containers, or tt_news
>> Text: area.
>>
>> I noticed by default these styles are set up in that Text: menu:
>> Detail
>> Important
>> Name of Person
>>
>> However, since i have not yet defined them in my CSS files they don't
>> output format.  I'd like additional styles to be added.
>>
>> I'm running 4.2.8 which has rtehtmlarea 1.7.11 (a system extension)
>> which i'm assuming is what produces the RTE functionality that  
>> appears
>> in the Text: areas.
>>
>> searching typo3.org or google didn't net the results I'm looking for.
>>
>> Thanks in advance for any help.
>>
>> Doug
>>
>> -+-+-+-+-+-+-+-+-+-+-+-+-+
>> Doug La Farge
>> GCN Publishing, Inc.
>> 203.665.6211 x209
>> Internet Software & Services For Today's Media Companies
>> www.gcnpublishing.com * www.bg2go.com
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> -+-+-+-+-+-+-+-+-+-+-+-+-+
> Doug La Farge
> GCN Publishing, Inc.
> 203.665.6211 x209
> Internet Software & Services For Today's Media Companies
> www.gcnpublishing.com * www.bg2go.com
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

-+-+-+-+-+-+-+-+-+-+-+-+-+
Doug La Farge
GCN Publishing, Inc.
203.665.6211 x209
Internet Software & Services For Today's Media Companies
www.gcnpublishing.com * www.bg2go.com



More information about the TYPO3-english mailing list