Hallo
Seit Stunden versuche ich die eigene Klasse .roterText im htmlarea RTE zu definieren. Ich habe ein Update auf Typo3 4.0.2 gemacht und benutze htmlarea RTE 1.3.8.
Im Page TS-Config der Root-Seite habe ich folgendes eingetragen:
RTE.default.contentCSS = fileadmin/template/css/rte_formate.css
...
RTE.default.showButtons=textstylelabel, textstyle, ...
...
RTE.default.proc {
# tags die erlaubt / verboten sind
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym, center, caption
denyTags = font
# List all class selectors that are allowed on the way to the database
allowedClasses (
external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail, align-left, align-center, align-right, roterText
}
...
RTE.default.classesCharacter = roterText
Die Datei rte_formate.css ist im TS-Setup eingetragen, erscheint im Quellcode und enthält die Definition der roten Schrift.
Im BE sieht alles gut aus, auch wenn ich das Inhaltselement speichere. Im FE erscheint der Text aber mit den HTML-Tags:
Das ist der <span class="roterText">rote</span> Text.
Ich weiss nicht mehr, wo ich noch suchen soll. Die Foren habe ich durchforstet und jegliche Tipps ausprobiert. Irgend eine Kleinigkeit scheine ich wieder mal zu übersehen. Wer kann mir weiter helfen?
Besten Dank.