[TYPO3-german] RTE löscht Tags beim Speichern

Andreas Balzer newslist at andreas-balzer.de
Fri Feb 24 23:28:15 CET 2006


Bjoern Kraus schrieb:
> Andreas Balzer schrieb:
>> Hallo!
>> Ich hatte das gleiche Problem und habe damals ebenfalls einen Post in 
>> die Mailinglist gesetzt.. Um dir die teils sinnlosen Kommentare zu 
>> ersparen ( :) ), hast du die aktuellste stable version vom rte 
>> installiert?
> 
> Danke für deine Antwort :)
> 
> Ich habe die Standartversion des RTE (Ext.Key "rte", Version 0.0.10), 
> die mit TYPO3 3.8.1 mitkam, installiert. Gibt es eine neuere Version?
> 
> Grüße
> Björn

Äm, ok.. als kleiner Vorschlag, der allerdings etwas Einarbeitungszeit 
in Anspruch nehmen könne, das Problem aber bestimmt mittels einiger 
Konfiguration lösen könnte, bzw. bei mir gelöst hat.
"htmlarea"
rte_htmlarea heißt der key glaub ich..

Der kann mehr, ist Cross Browser Kompatibel und mit der folgenden 
Konfiguration im Page TS tritt der Fehler nicht mehr auf:

RTE.default.enableWordClean = 1
RTE.default.disableEnterParagraphs = 0
RTE.default.hideButtons = fontstyle, fontsize, lefttoright, righttoleft, 
inserttag
RTE.default.proc {
allowTags = Link1, Link2, Link3, Link4, Link5, script, php, iframe, 
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
HTMLparser_rte {
allowTags < RTE.default.proc.allowTags
removeTags = font
}
  // CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
// XHTML COMPLIANCE
xhtml_cleaning = 1
// CLEAN TAGS
#noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, 
cite, tt, br, center
htmlSpecialChars = 1
}
}




More information about the TYPO3-german mailing list