Home
TYPO3 Extensions
TYPO3 Webseiten
Innovation Award
Kundenlogin
Code-Suche
Internet-Suche
Google Trends
Code-Schnipsel
Links
Kontakt
  1. ## RTE Konfiguration
  2. RTE.default {
  3.  
  4. # Zuweisung der CSS-Datei
  5. # contentCSS = fileadmin/Templates/layoutdaten/html/css/rte_formate.css
  6.  
  7. ## Markup options
  8. enableWordClean = 1
  9. removeTrailingBR = 1
  10. removeComments = 1
  11. removeTags = center, sdfield
  12. removeTagsAndContents = style,script
  13.  
  14. # Buttons die gezeigt/versteckt werden
  15. showButtons = chMode, inserttag, textstyle, textstylelabel, blockstyle, blockstylelabel, bold, italic, underline, left, center, right, orderedlist, unorderedlist, insertcharacter, line, link, removeformat, findreplace, insertcharacter, undo, redo, showhelp, about, image, copy, cut, paste, acronym
  16. hideButtons = fontstyle, formatblock, fontsize, strikethrough,lefttoright, righttoleft, textcolor, bgcolor, textindicator, emoticon, user, spellcheck, outdent, indent, justifyfull, subscript, superscript, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge
  17.  
  18. # Hält die RTE Icons gegroupt zusammen
  19. keepButtonGroupTogether = 1
  20.  
  21. # blendet Statusbar in htmlarea aus
  22. showStatusBar = 0
  23.  
  24. ## Add styles Left, center and right alignment of text in paragraphs and cells.
  25. inlineStyle.text-alignment (
  26. p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; }
  27. p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; }
  28. p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
  29. )
  30.  
  31. ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
  32. ignoreMainStyleOverride = 1
  33.  
  34. proc {
  35. # tags die erlaubt / verboten sind
  36. 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
  37. denyTags = font
  38.  
  39. # br wird nicht zu p konvertiert
  40. dontConvBRtoParagraph = 1
  41.  
  42. # tags sind erlaubt ausserhalb von p, div
  43. allowTagsOutside = img,hr
  44.  
  45. # erlaubte attribute in p, div tags
  46. keepPDIVattribs = align,class,style,id
  47.  
  48. # List all class selectors that are allowed on the way to the database
  49. allowedClasses (
  50. external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
  51. align-left, align-center, align-right, orange
  52. )
  53.  
  54. # html parser einstellungen
  55. HTMLparser_rte {
  56.  
  57. # tags die erlaubt/verboten sind
  58. allowTags < RTE.default.proc.allowTags
  59. denyTags < RTE.default.proc.denyTags
  60.  
  61. # tags die untersagt sind
  62. removeTags = font
  63.  
  64. # entfernt html-kommentare
  65. removeComments = 1
  66.  
  67. # tags die nicht Übereinstimmen werden nicht entfernt (protect / 1 / 0)
  68. keepNonMatchedTags = 0
  69. }
  70.  
  71.  
  72. # Content to database
  73. entryHTMLparser_db = 1
  74. entryHTMLparser_db {
  75.  
  76. # tags die erlaubt/verboten sind
  77. allowTags < RTE.default.proc.allowTags
  78. denyTags < RTE.default.proc.denyTags
  79.  
  80. # CLEAN TAGS
  81. noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
  82.  
  83. rmTagIfNoAttrib = span,div,font
  84.  
  85. # htmlSpecialChars = 1
  86.  
  87. ## align attribute werden erlaubt
  88. tags {
  89. p.fixAttrib.align.unset >
  90. p.allowedAttribs = class,style,align
  91.  
  92. div.fixAttrib.align.unset >
  93.  
  94. hr.allowedAttribs = class
  95.  
  96. # b und i tags werden ersetzt (em / strong)
  97. b.remap = strong
  98. i.remap = em
  99.  
  100. ## img tags werden erlaubt
  101. img >
  102. }
  103. }
  104.  
  105. }
  106.  
  107. # Classes: Ausrichtung
  108. classesParagraph (
  109. align-left, align-center, align-right
  110. )
  111.  
  112. # Classes: Eigene Stile
  113. classesCharacter = orange
  114. classesImage= rte_image
  115.  
  116.  
  117. # Classes für Links (These classes should also be in the list of allowedClasses)
  118. classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
  119. classesAnchor.default {
  120. page = internal-link
  121. url = external-link-new-window
  122. file = download
  123. mail = mail
  124. }
  125.  
  126. # zeigt alle CSS-Klassen die in formate.css vorhanden sind
  127. showTagFreeClasses = 1
  128.  
  129. # Do not allow insertion of the following tags
  130. hideTags = font
  131.  
  132. # Tabellen Optionen in der RTE Toolbar
  133. hideTableOperationsInToolbar = 0
  134. keepToggleBordersInToolbar = 1
  135.  
  136. # Tabellen Editierungs-Optionen (cellspacing/ cellpadding / border)
  137. disableSpacingFieldsetInTableOperations = 1
  138. disableAlignmentFieldsetInTableOperations=1
  139. disableColorFieldsetInTableOperations=1
  140. disableLayoutFieldsetInTableOperations=1
  141. disableBordersFieldsetInTableOperations=0
  142. }
  143.  
  144. # Use same processing as on entry to database to clean content pasted into the editor
  145. RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db
  146.  
  147. # FE RTE configuration (htmlArea RTE only)
  148. RTE.default.FE < RTE.default
  149. RTE.default.FE.userElements >
  150. RTE.default.FE.userLinks >
  151.  
  152. # Breite des RTE in Fullscreen-Ansicht
  153. TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 80%
  154.  
  155.  
  156.  
  157. ## horizontal radio button
  158. temp.splitter {
  159. token = §
  160. cObjNum = 1
  161. 1.current = 1
  162. 1.wrap = </tr><tr>|
  163. }
  164.  
  165.  
  166. tt_content.mailform.20.data.split < temp.splitter
  167. TCEFORM.tt_content.layout.types.bullets.altLabels.0 = a | b | c
  168. TCEFORM {
  169. tt_content {
  170. header_layout {
  171. altLabels {
  172. 0 = Normal Grün/Gelb
  173. 1 = Spalte Rechts
  174. 2 = Grün/Gelb
  175. 3 = Nur Schrift
  176. }
  177. removeItems = 4,5
  178. }
  179. }
  180. }
  181.  
  182.  
  183.  
© 2005-2011 Chi Hoang. All rights reserved. All trademarks are property of their respective owners. Last Update: 
12.01.2012
bookmark in your browserbookmark at mister wongpublish in twitterbookmark at del.icio.usbookmark at digg.combookmark at furl.netbookmark at linksilo.debookmark at reddit.combookmark at spurl.netbookmark at technorati.combookmark at google.combookmark at yahoo.combookmark at facebook.combookmark at stumbleupon.combookmark at propeller.combookmark at newsvine.combookmark at jumptags.com