Hallo,
interessanterweise schreibt Firefox 2 anstelle eines b- bzw. strong-Tags ein span mit entsprechendem style-Attribut. Internet Explorer 6 und 7 sowie Opera 9 schreiben wie erwartet ein strong-Tag. Natürlich möchte ich, dass später in der Frontend-Ausgabe das strong-Tag benutzt wird, auch wenn das Backend im Firefox benutzt wird.
Typo3 4.1.1
Kennt jemand eine Lösung für dieses Problem?
Danke und Gruß
Aaron
Meine RTE-Konfiguration:
RTE {
default {
# CSS
contentCSS = fileadmin/template/rte.css
useCSS = 1
showTagFreeClasses = 1
# Markup-Optionen
removeTrailingBR = 1
removeComments = 1
removeTags = font, h1, h2
# Buttons
showButtons = *
hideButtons = inserttag, fontstyle, fontsize, strikethrough, lefttoright, righttoleft, textcolor, bgcolor, emoticon, user, spellcheck, outdent, indent, justifyfull, subscript, superscript, acronym, underline, left, center, right, showhelp, copy, cut, paste, textindicator
hidePStyleItems = h1, h2, pre, address
# Klassen
classesParagraph := addToList(important)
proc.allowedClasses := addToList(important)
proc {
allowTags = table, tbody, tr, th, td, h3, h4, h5, h6, div, p, br, span, ul, ol, li, blockquote, strong, em, a, img, hr, tt, q, cite, abbr, acronym, b, i, address
denyTags = font, u, sub, sup, strike, nobr, center
allowTagsOutside = hr, address
HTMLparser_rte {
allowTags < RTE.default.proc.allowTags
denyTags < RTE.default.proc.denyTags
keepNonMatchedTags = 0
}
entryHTMLparser_db = 1
entryHTMLparser_db {
rmTagIfNoAttrib = span,div
allowTags < RTE.default.proc.allowTags
denyTags < RTE.default.proc.denyTags
tags {
b.remap = strong
i.remap = em
}
}
}
}
# Klassen
classes {
important {
name = Wichtig
value = font-weight:bold;
}
}
}