[TYPO3-german] htmlArea RTE 1.5.3 in Typo 4.1.2 lässt sich nicht per Typoscript konfigurieren

artworx3D . Lars Zimmermann lars at artworx3d.de
Fri Sep 14 23:01:58 CEST 2007


Hallo liebe Mailinglist,
 
ich versuche eine Definitionsliste (dl, dd, dt) in meinem htmlArea RTE
einzubauen. Dazu müsste ich CustomTags erlauben.
Habe diverseste Lösungen aus dem Netz probiert wie beispielsweise:
 
 
## RTE Konfiguration
RTE.default {
       
        ## Markup options
        enableWordClean = 1
        removeTrailingBR = 1
        removeComments = 1
        removeTags = center, sdfield
        removeTagsAndContents = style,script
       
        proc {
                # tags die erlaubt / verboten sind
                allowTags = 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, center, dl, dt,
dd
                denyTags = font
 
                # br wird nicht zu p konvertiert
                dontConvBRtoParagraph = 1
 
                # tags sind erlaubt außerhalt von p, div
                allowTagsOutside = img,hr
 
                # erlaubte attribute in p, div tags
                keepPDIVattribs = align,class,style,id
 
                # List all class selectors that are allowed on the way to
the database
                allowedClasses (
                        external-link, external-link-new-window,
internal-link, internal-link-new-window, download, mail,
                        align-left, align-center, align-right, author
                )       
 
                # html parser einstellungen
                HTMLparser_rte {
 
                        # tags die erlaubt/verboten sind
                        allowTags < RTE.default.proc.allowTags
                        denyTags < RTE.default.proc.denyTags
 
                        # tags die untersagt sind
                        removeTags = font
 
                        # entfernt html-kommentare
                        removeComments = 1
 
                        # tags die nicht übereinstimmen werden nicht
entfernt (protect / 1 / 0)
                        keepNonMatchedTags = 0
                }
 

                # Content to database
                entryHTMLparser_db = 1
                entryHTMLparser_db {
 
                        # tags die erlaubt/verboten sind
                        allowTags < RTE.default.proc.allowTags
                        denyTags < RTE.default.proc.denyTags
 
                        # CLEAN TAGS
                        noAttrib = b, i, u, strike, sub, sup, strong, em,
quote, blockquote, cite, tt, br, center
 
                        rmTagIfNoAttrib = span,div,font
 
                        # htmlSpecialChars = 1
       
                        ## align attribute werden erlaubt
                        tags {
                                p.fixAttrib.align.unset >
                                p.allowedAttribs = class,style,align
 
                                div.fixAttrib.align.unset >
 
                                hr.allowedAttribs = class
 
                                # b und i tags werden ersetzt (em / strong)
                                b.remap = strong
                                i.remap = em
 
                                ## img tags werden erlaubt
                                img >
                        }
                }
 
        }
 
Habe dann einmal probiert Buttonleisten zu konfigurieren. Irgendwie reagiert
mein RTE auf überhaupt keine TS Eingabe. Er transformiert logischerweise die
DL-Tags immer in plaintext. Kann mir jemand sagen, wie ich meinen RTE
überhaupt per TS ansprechen kann?
 
Müssen die TS-Angaben in den "seite.RTE.default..." Abschnitt, oder
außerhalb dieser Definitionen alleine stehen (so wie ich es bisher hatte?).
 
Viele Grüße
Lars
 
 
 


More information about the TYPO3-german mailing list