Zum Inhalt springen

RTE schreibt HTML-Quelltext um

Erstellt am 12. Dezember 2005 · 1 Antwort · letzte Antwort am 20. Dezember 2005

Tags: Frage

Wookkie ·

Hi,
ich werde langsam wahnsinnig!
ich will in im RTE [HTML Area] html Code in der html-Ansicht eingeben in der Form:
<span style="background-image:bild.jpg">footext</>
Verlasse ich die html-Ansicht un speichere den inhalt ist der html-Code weg.
Wie kann ich das umgehen?

m.​ ·

Hallo Wookkie,

zum einen müsste Dein <span> auch mit einem <span> schließen, zum anderen muss Du in Deinem Seiten-TS den HTMLArea konfigurieren siehe:

http://typo3.org/documentation/document-library/rtehtmlarea/Configuration-80/#oodoc_part_11283

also:

RTE. default.proc {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, font, tt, q, cite, abbr, acronym, address, sdfield}

Eine recht gute Beschreibung gibt es hier:

http://ug.typo3-nrw.de/typo3-dynamic_css.html

Liebe Grüße aus Frankfurt, Michael