Hallo,
ich soll den RTE einer Seite anpassen und weiß langsamm nicht mehr weiter. Das Problem ist das die Farbwahl mit dem Editor mittels "style" hinzugefügt wird. Egal wie ich es aber mache. style im p oder style im span. Es fliegt beim speichern immer raus.
Die Konfiguration davon ist ein einziges Caos, aber ich habe es schon geprüft finde aber den Fehler nicht.
Vielleicht kann ja ein geschultes Typo3-Auge mal einen Blick da drauf werfen.
Danke,
Tim
RTE.default {
disableEnterParagraphs = 1
blindImageOptions = magic
contentCSS = fileadmin/template/rte.css
classesCharacter = wichtig, weiss, scrolltext, scrollwichtig, scrollheadline
enableWordClean = 1
allowTagsOutside = img,hr
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,tt,q,cite,abbr,acronym
removeTags = sdfield
removeTagsAndContents = script
#style
showButtons = chMode, bar, cut, copy, paste, bar, undo, redo, bar, findreplace, spellcheck, removeformat, acronym, insertcharacter, acronym, inserttag, textindicator, bold, italic, subscript, superscript, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, line, link, image, blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, columninsertafter, celldelete, cellsplit, cellmerge, fontstyle, fontsize, underline, emoticon
toolbarOrder = chMode, bar, cut, copy, paste, bar, undo, redo, bar, findreplace, spellcheck, removeformat, acronym, insertcharacter, acronym, inserttag, textindicator, linebreak, bold, italic, underline, subscript, superscript, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, linebreak, fontstyle, fontsize, line, link, image, linebreak, blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock, linebreak, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, columninsertafter, celldelete, cellsplit, cellmerge, emoticon
hideButtons = strikethrough, lefttoright, righttoleft, user, showhelp, about
hidePStyleItems = PRE
#hideTags = font, font (full)
proc {
overruleMode = ts
dontConvBRtoParagraph = 1
#denyTags = font
// XHTML COMPLIANCE
xhtml_cleaning = 1
allowTags = font,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,tt,q,cite,abbr,acronym
// CLEAN TAGS
noAttrib = b,i,u,strike,sub,sup,strong,em,quote,blockquote,cite,tt,br,center
tags.font.allowedAttribs = color,style
tags.hr.allowedAttribs = class
tags.p.allowedAttribs = *
tags.img.allowedAttribs = *
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
// remove Tags which have no attributes
rmTagIfNoAttrib = span,div,font
entryHTMLparser_db = 1
entryHTMLparser_db {
xhtml_cleaning = 1
#denyTags = font
rmTagIfNoAttrib = span,div
tags {
## REMOVE IMG TAGS
allowTags < RTE.default.proc.allowTags
img.allowedAttribs = src,alt,title,border,width,height
img.rmTagIfNoAttrib = 0
p.allowedAttribs = *
}
removeTags = center, sdfield, strike,
# font, u
## PROTECT CUSTOM TAGS
keepNonMatchedTags = protect
}
}
}