Hey Armin,
ich hab folgenden Code im Pageheader meiner Rootseite um die Ausgabe des RTE zu beeinflussen:
#definiert welche Buttons für User sichtbar sind
RTE.config.tt_content.bodytext.showButtons = bold, italic, underline, left, center, right, justifyfull, link, image, table,copy, cut, paste, undo, redo, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
RTE.default {
useCSS = 1
RTE.default.contentCSS = fileadmin/templates/main/res/rte.css
#versteckt ein Teil der Überschriften
hidePStyleItems = PRE, H4, H5, H6
hideTags = font, font (full)
# keine p tags einfügen
disableEnterParagraphs = 0
# übernehmen Attribute
keepPDIVattribs = align,class,style
}
RTE. default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css
// LINES CONVERSION
dontConvBRtoParagraph = 1
// BRING FONT TAGS INSIDE PARAGRAPHS
internalizeFontTags = 1
// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr,address
// TAGS ALLOWED
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, style
allowedAttribs = style,align,class
// TAGS DENIED
denyTags = font
// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style
// ALLOWED CLASSES
allowedClasses = *
// CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
// TAGS ALLOWED
allowTags < RTE.default.proc.allowTags
// XHTML COMPLIANCE
xhtml_cleaning = 1
// AVOID TO HSC TWICE
htmlSpecialChars = 0
// CLEAN TAGS
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br
rmTagIfNoAttrib= span,div,font
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
// REMOVE OPEN OFFICE META TAGS
removeTags = sdfield
// PROTECT CUSTOM TAGS
keepNonMatchedTags = 1
}
}
hoffe das hilft dir
gruß
Simone #paralyzed#