Zum Inhalt springen

DIV Id box erlauben

Erstellt am 27. Juni 2012 · Noch keine Antworten

Tags: Frage

WhiteShadow ·

Ich möchte folgendes in den HTML Code beim RTE reinschreiben <div id="box">Inhalt</div> Jedoch löscht er mir immer das id="box" raus. Und dann steht da nur <div> Meine RTE Config sieht so aus:

RTE.default.proc {

 # Überschreibe CSS Angaben aus dem TypoScript
 overruleMode = ts_css

 # tags die erlaubt / verboten sind
 allowTags = font, size, fontsize,  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, bgcolor, bg, color, underline
 denyTags =
 
 # br wird nicht zu p konvertiert
 dontConvBRtoParagraph = 1

 # Tags die ausserhalb von p, div erlaubt sind
 allowTagsOutside = img,hr,center

 # Erlaubte Attribute in p, div Tags
 keepPDIVattribs = class,style,id
}

Weißt da vllt. jemand weiter?