[TYPO3-german] oftmals erfragt: RTE-Config

"M. Graßhoff" m.grasshoff at signup-design.de
Mon Aug 31 15:48:10 CEST 2009


Hallo Leute,

ich werd noch irre wegen der RTE-Config. ..

Problem:
Möchte eigentlich nur bestimmte <html>-Tags erlauben. Nichts weiter.
Habe einiges dazu gefunden und gelesen, aber nichts funktioniert bei 
mir... Nachdem ich im BE im RTE auf die Html-Ansicht wechsele, und dort 
zB. <script></script>
schreibe und speichere, wird daraus direkt: 
<p>&lt;script&gt;&lt;/script&gt;</p> und somit landet es dann als 
content-text im FE.

MEIN TS:
------------

im root-TS:
########################### RTE #########################################

RTE.default.proc.allowTags = 
img,script,marquee,a,abbr,acronym,address,b,bdo,blockquote,br,cite,code,del,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol,p,span,strike,strong,sub,sup,u,ul


RTE.default.proc. entryHTMLparser_db.noAttrib = 
img,script,marquee,a,abbr,acronym,address,b,bdo,blockquote,br,cite,code,del,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol,p,span,strike,strong,sub,sup,u,ul
#########################################################################

lib.parseFunc.allowTags = 
img,script,marquee,a,abbr,acronym,address,b,bdo,blockquote,br,cite,code,del,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol,p,span,strike,strong,sub,sup,u,ul
lib.parseFunc_RTE.allowTags = 
img,script,marquee,a,abbr,acronym,address,b,bdo,blockquote,br,cite,code,del,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol,p,span,strike,strong,sub,sup,u,ul

und nochmal in den Konstanten :
--------------------------------
styles.content.links.allowTags = 
script,marquee,address,cite,b,i,u,a,img,br,div,center,pre,font,hr,sub, 
sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6


Ich bin echt begeistert... kann doch nicht so schwer sein,oder?

Ich wär' dankbar für Vorschläge!

Gruß,
Marko


More information about the TYPO3-german mailing list