Hallo!
Ich versuch gerade eine passende RTS-Konfig hinzubekommen, scheiter aber irgendwie :-)
Meine jetzige RTE-Konfig schreibt folgendes in die DB
<span style="font-weight: bold;">1. Name, Sitz und Tätigkeitsbereich des Vereins</span><br>
gewünscht ist aber
<b>1. Name, Sitz und Tätigkeitsbereich des Vereins</b><br>
meine Konfig:
# ##
# RTE - Einstellungen
# Microsoft Word to be "cleaned"
RTE.default.enableWordClean = 1
# html comments to be removed
RTE.default.removeComments = 1
# specify if you want Mozilla/Firefox to operate in native mode
RTE.default.useCSS = 1
# Welche Buttons ausblenden
# blockstylelabel, blockstyle, textstylelabel, textstyle, fontstyle, fontsize, formatblock, bold, italic, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, textindicator, emoticon, insertcharacter, line, link, image, table, user, acronym, findreplace, spellcheck, chMode, inserttag, removeformat, copy, cut, paste, undo, redo, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
RTE.default.hideButtons = blockstylelabel, blockstyle, textstylelabel, textstyle, fontstyle, fontsize, formatblock, subscript, superscript, lefttoright, righttoleft, justifyfull, textcolor, bgcolor, textindicator, emoticon, insertcharacter, line, user, acronym, findreplace, spellcheck, chMode, inserttag, about, toggleborders
# disable the configurable color selection popup
RTE.default.disableSelectColor = 0
# disable the insertion of paragraphs when hitting the Enter key in Mozilla/Firefox
RTE.default.disableEnterParagraphs = 0
# specify the RTE default processing options
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
// TAGS DENIED
denyTags >
// 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
// AVOID TO HSC TWICE
htmlSpecialChars = 0
// CLEAN TAGS
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
tags.hr.allowedAttribs = class
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
// REMOVE OPEN OFFICE META TAGS
removeTags = sdfield
// PROTECT CUSTOM TAGS
keepNonMatchedTags = protect
}
// XHTML COMPLIANCE
HTMLparser_db.xhtml_cleaning = 1
}
# Statusbar anzeigen
RTE.default.showStatusBar = 1
# set the default configuration when the RTE is used in the front end
RTE.default.FE < RTE.default
RTE.default.FE.showStatusBar = 0
RTE.default.FE.hideButtons = chMode
Welchen schalter muss ich umlegen?
Marco