TYPO3 Reea Blog

This will be shown to users with no Flash or Javascript.

RTE Configuration


RTE.default.contentCSS = /fileadmin/template/rte.css
RTE.default.useCSS = 1

RTE.default.enableWordClean = 1
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, H1

#Für sauberes html rausgenommen
RTE.default.hideTags = font, font (full)

# siehe oben ausführlich
RTE.default.showTagFreeClasses = 1
RTE.default.classesCharacter = text_right
RTE.default.classesParagraph = text_right
RTE.default.classesImage = blauerRand, 10pxAbstand
RTE.default.classesAnchor = intern, extern, mailto

RTE.config.tt_content.bodytext.proc.allowedClasses = text_right

RTE.default.showStatusBar = 1
RTE.default.proc.dontHSC_rte = 1
RTE.default.proc.dontUndoHSC_db = 1
RTE.default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css

// LINES CONVERSION
dontConvBRtoParagraph = 1

// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = 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 ALLOWED
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

// 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

}

// 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

rmTagIfNoAttrib = span,div,font

htmlSpecialChars = 0
}

} 

RTE.default.disableColorPicker = 1
RTE.default.disableSelectColor = 0

#vordefinierte farben, damit redakteure sich innerhalb des styleguides austoben können
RTE.colors {

color1 {
name = dunkelblau
value = #000066
}

color2 {
name = blau
value = #00008B
}
color3 {
name = rotbraun
value = #B22222
}
color4 {
name = dunkelrot
value = #CC3300
}
color5 {
name = mittelbraun
value = #D2691E
}
color6 {
name = orange
value = #FF9933
}
color7 {
name = pfirsich
value = #FFDAB9
}
color8 {
name = natur
value = #FDF5E6
}

}

RTE.default.colors = color1, color2, color3, color4, color5, color6, color7, color8


RTE {
classesAnchor {
 externalLink {
   altText =
   titleText =
 }
 externalLinkInNewWindow {
   altText =
   titleText =
 }
 internalLink {
   altText =
   titleText =
 }
 internalLinkInNewWindow {
   altText =
   titleText =
 }
 download {
   altText =
   titleText =
 }
 mail {
   altText =
   titleText =
 }
}
}

Afișarea tuturor butoanelor RTE-ului


RTE.default.disableColorPicker = 0
RTE.default.disableSelectColor = 0
RTE.default.showButtons = blockstylelabel, blockstyle, textstylelabel, textstyle, fontstyle, fontsize, formatblock, bold, italic, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, orderedlist, unorderedlist, outdent, indent, textcolor, bgcolor, textindicator, emoticon, insertcharacter, line, link, image, table, user, acronym, findreplace, spellcheck, chMode, inserttag, removeformat, copy, cut, paste, undo, redo, showhelp, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
blog comments powered by Disqus