Zum Inhalt springen

RTE zerlegt map-tag

Erstellt am 6. Oktober 2006 · 1 Antwort · letzte Antwort am 23. Oktober 2006

Tags: Frage

aBernhardt ·

Hallo,

mein erstes TYPO3-projekt, ich hoffe jemand kann helfen ...

Mein Problem:
Der RTE zerlegt alle map-tags, die ich im HTML-Modus einfüge. Genauer gesagt macht er html-encodiert, was er nicht kennt oder ausdrücklich erlaubt bekommt. (aus < wird & lt😉

Mein Versuch:

RTE.default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css

// LINES CONVERSION
dontConvBRtoParagraph = 1

// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr

// TAGS ALLOWED
allowTags =map, area, 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

// TAGS DENIED
denyTags = font

// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style

// CONTENT TO RTE
HTMLparser_rte {
// TAGS ALLOWED
allowTags < RTE.default.proc.allowTags
removeTags = font

// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 0

} 
}

Wirkung: null

Wie kann ich das html-encodieren abschalten?
Von mir aus soll er gar nicht parsen. Hauptsache, er macht was ich eingebe.

Danke & Gruß,
Axel

wb_intermatix ·

hab auch ne weile gesucht und endlich die lösung gefunden:

die entsprechenden tags müssen in die template constants 😉 eingetragen werden:

styles.content.links.allowTags = map