TEXT   44

rte.txt

Guest on 24th April 2022 08:10:37 AM

  1. # Some predefined colors
  2. RTE.colors {
  3.         color1 {
  4.                 name = black
  5.                 value = #000000
  6.         }
  7.         color2 {
  8.                 name = blue
  9.                 value = #2D4698
  10.         }
  11.         color3 {
  12.                 name = red
  13.                 value = #FF0000
  14.         }
  15.         color4 {
  16.                 name = dark-red
  17.                 value = #CC3300
  18.         }
  19. }
  20.  
  21. RTE.default.colors = color1, color2, color3, color4
  22.  
  23. RTE.default {
  24.         # Clean content fromm s Word
  25.         enableWordClean = 1    
  26.         contentCSS >
  27.         contentCSS = fileadmin/templates/setting/rte.css
  28. }
  29.  
  30.  
  31. # Userdefined classes for alignment
  32. # beginning in TYPO3 4.2.
  33. # Have tob e configured in the stylesheet used.
  34. RTE.default.buttons.left.useClass = align-left
  35. RTE.default.buttons.center.useClass = align-center
  36. RTE.default.buttons.right.useClass = align-right
  37. RTE.default.buttons.justifyfull.useClass = align-justify
  38.  
  39. RTE.default {
  40.                 ## Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
  41.         ignoreMainStyleOverride = 1
  42.  
  43.                 ## List all class selectors that are allowed on the way to the database
  44.         proc.allowedClasses (
  45.                 align-left, align-center, align-right, align-justify, mensi-pismo, vetsi-pismo,
  46.                 indent
  47.         )
  48.  
  49.                 ## classesParagraph, classesTable, classesTD, classesLinks, classesCharacter
  50.                 ## Classic RTE: Specify the list of class selectors that should be presented in the RTE interface:
  51.                 ## htmlArea RTE: Restrict the list of class selectors presented by the RTE to the following:
  52.         classesParagraph (
  53.                 align-left, align-center, align-right, align-justify, mensi-pismo, vetsi-pismo
  54.         )
  55.         classesTable = mensi-pismo, vetsi-pismo
  56.         classesTD = align-left, align-center, align-right, align-justify
  57.         classesLinks = mensi-pismo, vetsi-pismo
  58.         classesCharacter = mensi-pismo, vetsi-pismo
  59.  
  60. }
  61.  
  62. RTE.default {
  63.     hideButtons := removeFromList(textcolor,underline)
  64.     showButtons := addToList(textcolor,underline)
  65. }

Raw Paste


Login or Register to edit or fork this paste. It's free.