Return to Snippet

Revision: 43842
at March 31, 2011 23:33 by arnekolja


Initial Code
# PageTS
RTE.default {
  useCSS = 1
  contentCSS = fileadmin/templates/css/rte.css
  # classesParagraph := addToList(error-box)
  # classesCharacter := addToList(stil-rot, stil-gruen)
  classesUL := addToList(checkmarks)

  FE.proc < RTE.default.proc
  FE < RTE.default

  showTagFreeClasses = 1
  # proc.allowedClasses := addToList(checkmarks, error-box, stil-rot, stil-gruen)
  proc.allowedClasses := addToList(checkmarks)
}

RTE.classes {
  checkmarks {
    name = Haekchen-Liste
    value = background-color:#eee;
  }
  #error-box {
  #  name = Fehlermeldung (Box mit rotem Rahmen)
  #  value = background: #fff; border: 1px solid red; padding: 5px; color: red;
  #}
  #stil-rot {
  #  name = Rote Schrift
  #  value = color: red;
  #}
  #stil-gruen {
  #  name = Grüne Schrift
  #  value = color: green;
  #}
}

Initial URL

                                

Initial Description
Classes _need_ to be defined in your rte.css for the editor to show them.

Initial Title
PageTS: RTE config

Initial Tags

                                

Initial Language
TYPO3