Hm,
bei mir funktioniert das mit den eigenen CSS-Absatzklassen und der Anzeige in den DropDown-Listboxen des RTE. Beispiel ist die Absatz-Klasse "bodytextAdvanced":
RTE.default {
contentCSS = fileadmin/mysite/rte_formate.css
useCSS = 1
# zeigt alle CSS-Klassen die im CSS vorhanden sind
showTagFreeClasses = 1
# Instruct htmlArea RTE to ignore properties mainStyleOverride and inlineStyle.
# 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 being used (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;
# 3. the css file specified by contentCSS in Page TSConfig.
# When ignoreMainStyleOverride is enabled, the middle style sheet is ignored and only the first and third style sheets are used.
ignoreMainStyleOverride = 0
classesTable := addToList(formattable,contenttable)
classesTable := removeFromList(htmlarea-showtableborders, csc-frame-frame1, csc-frame-frame2)
classesParagraph := addToList(align-left, align-center, align-right, justifycenter, csc-frame-frame1, csc-frame-frame2, csc-frame-frame3, csc-frame-frame4, csc-frame-frame5, csc-frame-rulerBefore, csc-frame-rulerAfter, csc-frame-indent, csc-frame-indent6633, csc-frame-indent3366, bodytextAdvanced)
classesTD := addToList(align-left, align-center, align-right)
classesLinks := addToList(external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail)
classesCharacter := addToList(important, name-of-person, detail, downscript, superscript, underline, strikethrough, red-text, blue-text, yellow-text, white-text)
proc {
# List all class selectors that are allowed on the way to the database
# erlaubte Classes
allowedClasses (
external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
align-left, align-center, align-right,
csc-frame-frame1, csc-frame-frame2, csc-frame-frame3, csc-frame-frame4, csc-frame-frame5, csc-frame-frame6, csc-frame-frame7, csc-frame-frame8,
csc-frame-rulerBefore, csc-frame-rulerAfter, csc-frame-indent, csc-frame-indent6633, csc-frame-indent3366, bodytextAdvanced,
component-items, action-items,
component-items-ordered, action-items-ordered,
important, name-of-person, detail, downscript, superscript, underline, strikethrough, formatblock, blue, red, yellow, white,
contenttable, formattable
)
...
...
}
RTE.classes {
...
...
bodytextAdvanced {
name = Absatz mit Abstand
}
}
Den einzigsten Unterschied, den ich noch sehe, ist der im CSS:
P.bodytextAdvanced { font-size: 12px; color: #000000; margin-left: 3px; margin-bottom: 20px;}
P.bodytextAdvanced A { font-weight: bold; }
Hier erlaube ich die Klasse nur an Absätzen. Ohne es getestet zu haben - vielleicht hilft das weiter.
Beste Grüße.