Hallo liebe Community,
ich hab mal wieder ein Problem mit dem RTE und weiss nun echt nicht mehr weiter.
Die Suche hat leider nichts ausgespuckt und selbst bekomm ich es nun schon seit drei Tagen nicht gebacken *seufz*
Es geht darum:
Wenn ich einen neuen Seiteninhalt anlege und die Überschrift eingebe
(ich belass den Typ meistens auf "Normal"):
Bild: img-up.net/…/ueberschrig3SZRlz.jpg
und dieses dann abspeichere, bekomm ich keine <h1>...<h6>-Tags,
sondern nur font-Tags wie in diesem Beispiel jetzt:
<font face="verdana" size="3">
<b>Test</b>
</font>
Meine Frage nun:
Kann man da irgendwie festlegen, dass daraus keine font-Tags, sondern vielleicht Div- oder h-Tags mit definierten Klassen gemacht werden?
Meine Einstellungen und Versionen:
TYPO3 CMS ver. 4.2.5
htmlArea RTE (rtehtmlarea) 1.7.8 (auf Typical gesetzt)
Default Aspell dictionary: de
List of Aspell dictionaries: de
Enable images in the RTE: yes
Enable additional inline elements: yes
Enable compressed scripts: yes
(restliche Häkchen sind raus)
Meine TSconfig in der Root-Page:
RTE.default {
useCSS = 1
ignoreMainStyleOverride = 0
showTagFreeClasses = 1
mainStyleOverride_add.H1 = font-size:16pt;color:#FF0000;
mainStyleOverride_add.H2 = font-size:14pt;color:#00FF00;
mainStyleOverride_add.H3 = font-size:14pt;color:#00FF00;
mainStyleOverride_add.H4 = font-size:12pt;color:#0000FF;
mainStyleOverride_add.H5 = font-size:12pt;color:#00FF00;
mainStyleOverride_add.H6 = font-size:10pt;color:#00FF00;
RTEHeightOverride = 600
showButtons (
blockstylelabel, textstylelabel, fontsize, formatblock, bold, italic, emphasis, deletedtext, big, small, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, textindicator, insertcharacter, line, link, image, table, acronym, findreplace, spellcheck, chMode, removeformat, copy, cut, paste, undo, redo, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
)
hideButtons (
showhelp, blockstyle, textstyle, about, inserttag, user, bgcolor, emoticon, fontstyle, toggleborders
)
}
RTE.default.proc {
dontConvBRtoParagraph = 1
allowTagsOutside = img, hr
allowTags = a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul
skipAlign = 0
skipClass = 0
keepPDIVattribs = style, id
entryHTMLparser_db = 1
exitHTMLparser_db = 1
}
RTE.default.proc.entryHTMLparser_db {
allowTags < RTE.default.proc.allowTags
htmlSpecialChars = 0
tags {
span.fixAttrib.style.unset = 0
p.fixAttrib.align.unset = 1
div.fixAttrib.align.unset = 1
}
removeTags = center, font, o:p, sdfield, strike, u
}
RTE.default.proc.HTMLparser_db {
xhtml_cleaning = 1
}
RTE.default.proc.exitHTMLparser_db {
tags.b.remap = strong
tags.i.remap = em
keepNonMatchedTags = 1
htmlSpecialChars = 0
}
RTE.default.FE.proc < RTE.default.proc
RTE.config {
tt_content.bodytext >
tt_content.bodytext.proc.overruleMode = ts_css
tt_content.bodytext.types.text.proc.overruleMode = ts_css
tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
}
Wäre echt suuuper, wenn mir da jemand weiterhelfen könnte, da ich sonst echt verzweifeln müsste 😢
Liebe Grüße und schonmal vielen Dank im Vorraus, BaBbLe
[EDIT] Liegt das vielleicht an dem Häkchen bei: Enable compressed scripts? Das war bereits voreingestellt und ich weiss nicht so genau was das bedeutet -.-