[TYPO3-german] Anführungszeichen im RTE

Lars Möller moeller at basis5.de
Wed Dec 6 13:47:47 CET 2006



... ja genau. Hier mal das RTE


#*** RTE Classe des Interface (Ausrichtung)


#
# *** Entfernt das Bild vor den Links


RTE.classesAnchor {
        internalLink {
                class = internal-link
                type = page
                image >
        }
        externalLink {
                class = external-link
                type = url
                image >
        }
        externalLinkInNewWindow {
                class = external-link-new-window
                type = url
                image >
        }
        internalLinkInNewWindow {
                class = internal-link-new-window
                type = page
                image >
        }
        download {
                class = download
                type = file
                image >
        }
        mail {
                class = mail
                type = mail
                image >
        }
}

RTE.classes {
  breite10{
    name = breite10
    value = width: 10%;
  }
  breite20 {
    name = breite20
    value = width: 20%;
  }
}
RTE.default.showButtons =   strikethrough,lefttoright, righttoleft,
textcolor, bgcolor, textindicator,  user, spellcheck, chMode, inserttag,
outdent, indent, justifyfull, subscript, superscript, acronym, copy,
cut, paste,textstyle, textstylelabel, blockstyle, blockstylelabel, bold,
italic, underline, left, center, right, orderedlist, unorderedlist,
insertcharacter, line, link, image, removeformat, table, toggleborders,
tableproperties, rowproperties, rowinsertabove, rowinsertunder,
rowdelete, rowsplit, columninsertbefore, columninsertafter,
columndelete, columnsplit, cellproperties, cellinsertbefore,
cellinsertafter, celldelete, cellsplit, cellmerge, findreplace,
insertcharacter, undo, redo, showhelp, about
RTE.default.hideButtons =fontstyle, formatblock,fontsize,emoticon


## RTE Konfiguration
RTE.default.contentCSS = fileadmin/templates/base5.css


RTE.default.useCSS = 0

RTE.default.enableWordClean = 0
RTE.default.disableEnterParagraphs = 0

#fontstyle, fontsize werden ins html geschrieben, deshalb rausgenommen
#lefttoright, righttoleft nicht benötigt
#inserttag rausgenommen, damit redakteure damit keinen unsinn treiben
RTE.default.hideButtons = fontstyle, fontsize, lefttoright, righttoleft,
inserttag
#PRE nicht benötigt, deshalb rausgenommen
#H1 aus semantischen Gründen rausgenommen (Überschrift Inhaltselemente
ist schon h1)
RTE.default.hidePStyleItems = PRE

RTE.default.classes = align-left, align-center, align-right, breite10,
breite20
RTE.default.classesTD = align-left, align-center, align-right, breite10,
breite20, schlonz, schnulli
#Für sauberes html rausgenommen
RTE.default.hideTags = font, font (full)

# siehe oben ausführlich
RTE.default.showTagFreeClasses = 1
RTE.default.classesCharacter = grau, important
RTE.default.classesImage = blauerRand, 10pxAbstand
RTE.default.classesAnchor = intern, extern, mailto
RTE.config.tt_content.bodytext.proc.allowedClasses = grau,important,
legende-links
RTE.default.removeTags := removeFromList(u)

RTE.default.showStatusBar = 1

RTE.default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css

// LINES CONVERSION
dontConvBRtoParagraph = 1

// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr

// TAGS ALLOWED
allowTags = font, 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

// TAGS DENIED
#denyTags = font

// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style

// CONTENT TO RTE
HTMLparser_rte {
// TAGS ALLOWED
allowTags < RTE.default.proc.allowTags
removeTags = font

// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 0

}
entryHTMLparser_db.removeTags := removeFromList(u)
// 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
tags.hr.allowedAttribs = class
// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
keepNonMatchedTags = 1
rmTagIfNoAttrib = span,div,font

htmlSpecialChars = 1
}


Danke für Hilfe,
lars


Carla Froitzheim schrieb:
> Lars Möller wrote:
> 
>> Hallo Liste,
>>
>> mein Problem stellt gerade die Eingabe von Anführungszeichen im RTE dar.
>> Diese werden nach der EIngabe immer in  &amp;quot; umgewandelt.
>>  
>>
> Ich gehe mal davon aus, wir reden von htmlarea?
> Von Hause aus macht der das nicht. Welche default configuration hast Du 
> laufen und was hast Du in Deinem Page TS stehen?
> 
> Carla
> 
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
> 
> 


More information about the TYPO3-german mailing list