Hallo,
der htmlarea macht mich jetzt dann bald wahnsinnig. Ständig geht irgendwas nicht. Nach Update von 4.1.9 aud 4.1.10 werden Tags zerschossen. Wenn ich einen Text fett markiere und speichere wird nur "span style=font-weight: bold;dddd/span" ausgegeben.
Meine TSConfig sieht so aus:
# ========================================
# RTE konfigurieren
# ========================================
RTE.default {
# Nur Button Fett,Farbwahl,Link erstellen
showButtons = bold,italic,textstylelabel,textstyle,link,removeformat
#
removeTags = InsertImage
# CSS Textformatierung
contentCSS = fileadmin/templates/css/rte.css
useCSS = 1
showTagFreeClasses = 1
classesCharacter = Rot,Gruen,Dunkelblau,Hellblau,Magenta,Dunkelbraun,Dunkelgrau
proc {
remapParagraphTag >
keepPDIVattribs=class, style, id, shape, coords, name
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
denyTags = font
allowTagsOutside = map, area, img, br, span, hr, address
allowedClasses >
HTMLparser_db.tags.span.allowedAttribs = lang, title, class, style, id, name, shape, coords
HTMLparser_rte.keepNonMatchedTags = 1
entryHTMLparser_db {
keepNonMatchedTags = 1
rmTagIfNoAttrib = span,font
htmlSpecialChars = 0
tags {
p.fixAttrib.align.unset >
p.fixAttrib.class.unset >
p.allowedAttribs = class,style,align, id
div.fixAttrib.align.unset >
div.fixAttrib.class.unset >
div.allowedAttribs = class,style,align, id
span.fixAttrib.style.unset >
span.fixAttrib.class.unset >
map.allowedAttribs = name
area.allowedAttribs = shape, coords
}
}
}
}