[b:5de6adeab6]t3 3.7.0
cSet stylesheet[/b:5de6adeab6]
[b:5de6adeab6]vorweg: es geht NICHT um Ps zwischen den LIs, SONDERN vor und nach den UL - die werden im BE und anschliessend im FE angezeigt.[/b:5de6adeab6] ist ja viell. trotzdem das gleiche prob - aber ich verstehs net.
liebe forumler,
das thema rte konfigurieren taucht wirklich alot auf, aber so richtig schluessiges finde ich nicht. (v.a. wo wird der rte im be als wysiwyg konfiguriert und wie die ausgabe im fe).
also, folgendes problem: in einer seite mit aufzaehlung wird nach jedem speichern vor und nach der aufzaehlung (means vor und nach dem UL, nicht bei den einzelnen items) ein paragraph + leerzeichen eingebunden. ganz wurscht, ob ich etwas aendere - es genuegt einfach nur im rte speichern sagen und zack wieder ein p mehr drin.
please helllllp.
thanxalot fuer tipps und links....
die daten:
in root-constants:
[code:1:5de6adeab6]
content.stylesheet.file = fileadmin/ww_upload/css/styles.css
content.RTE_compliant = 1
content.space = 0|0
content.headerSpace = 0|0
[/code:1:5de6adeab6]
in root-setup:
[code:1:5de6adeab6]
...
tt_content.stdWrap {
space = 0|0
spaceBefore = 0
spaceAfter = 0
dataWrap =
}
tt_content.text.20.parseFunc.denyTags =
tt_content.text.20.parseFunc.allowTags = *
tt_content.text.20.parseFunc.externalBlocks = ul, ol
...
[/code:1:5de6adeab6]
in root_tsconfig:
[code:1:5de6adeab6]
RTE.config.tt_content.bodytext.proc.allowedClasses >
RTE.config.tt_content.bodytext.proc.entryHTMLparser_db = 1
RTE.config.tt_content.bodytext.proc.entryHTMLparser_db {
allowTags = class,span,UL,OL,LI
}
RTE.default {
dontConvBRtoParagraph = 1
allowTags = p,div,img,hr,a,br,pre,strong,em,span,dl,dt,dd,b
preserveTags = HR,BR
mainStyle_font = Arial
mainStyle_size = 10px
mainStyle_color = black
mainStyle_bgcolor = white
mainStyleOverride_add.P = font-family: Arial, ... margin: 0px 0px 0px 0px;
mainStyleOverride_add.DIV = font-family: Arial, ... margin: 0px 0px 0px 0px;
mainStyleOverride_add.H1 = font-family: Arial, ... margin: 0px 0px 4px 0px;
hidePStyleItems = H2, H3, H4, H5, H6, PRE
classesParagraph = P, H1
classesCharacter = rot
}
RTE.default.proc {
overruleMode = ts_css
dontConvBRtoParagraph = 1
internalizeFontTags = 0
allowTags = p,div,img,hr,a,br,pre,span,dl,dt,dd,b
allowTagsOutside = img,hr
allowTagsInTypolists = br,b,i,u,a,img,span
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
# denyTags = p
allowedClasses = rot
keepPDIVattribs = align,class,style
preserveTables = 1
preserveTags = TYPOCODE, class, span
typolist=0
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
keepNonMatchedTags = 1
}
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
keepNonMatchedTags = 1
}
}
# Klassen
RTE.classes {
rot.name = Rot
rot.value = color: #D61D1D;
klein.name = Klein
klein.value = font-size:8pt;
}
[/code:1:5de6adeab6]
nochmal danke und auf antwort wartend
liz