[TYPO3-RTE] My own paragraph styles??

R. van Twisk typo at rvt.dds.nl
Sat Aug 12 20:39:07 CEST 2006


Hi List,

in the RTE I see paragraph style with the following styles:
Default
vertProp
horizProp
news-single-item
news-single-catagory
news-single-itemdata


How can I add my own styles in there?
I have read the long list of option,
but sometimes get lost in the cryptic descriptions.

Simply adding a class like this in my css doesn't work:

.riesred {color:red;}

Below my current Page TS config.

Ries
TYPO3 V4



RTE.classes {
         align-left {
                 name = 
LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
                 value = text-align: left;
         }
         align-center {
                 name = 
LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
                 value = text-align: center;
         }
         align-right {
                 name = 
LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
                 value = text-align: right;
         }
}

RTE {
	default {
		HTMLparser_rte.allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, 
h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, 
u, sub, sup, strike, a, img, nobr, hr, center, form, input, select, 
option, textarea, dl, dt, dd, font
		HTMLparser_db.allowTags =  table, tbody, tr, th, td, h1, h2, h3, h4, 
h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, 
u, sub, sup, strike, a, img, nobr, hr, center, form, input, select, 
option, textarea, dl, dt, dd, font
		contentCSS = fileadmin/template/css/common.css
		ignoreMainStyleOverride = 1
		mainStyleOverride  =
		useCSS = 1
	}
	default.proc {
		entryHTMLparser_db.keepNonMatchedTags = protect
		allowTags < RTE.default.HTMLparser_rte.allowTags
		keepNonMatchedTags = 1
		overruleMode = ts_css
		keepPDIVattribs = class,style
		entryHTMLparser_db = 0
		entryHTMLparser_rte = 0
	}
}
RTE.config.tt_content.bodytext.disabled = 0
RTE.config.tt_content.bodytext.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css




More information about the TYPO3-project-rte mailing list