Posted By

arnekolja on 03/31/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

dop3


PageTS: RTE config


 / Published in: TYPO3
 

Classes need to be defined in your rte.css for the editor to show them.

  1. # PageTS
  2. RTE.default {
  3. useCSS = 1
  4. contentCSS = fileadmin/templates/css/rte.css
  5. # classesParagraph := addToList(error-box)
  6. # classesCharacter := addToList(stil-rot, stil-gruen)
  7. classesUL := addToList(checkmarks)
  8.  
  9. FE.proc < RTE.default.proc
  10. FE < RTE.default
  11.  
  12. showTagFreeClasses = 1
  13. # proc.allowedClasses := addToList(checkmarks, error-box, stil-rot, stil-gruen)
  14. proc.allowedClasses := addToList(checkmarks)
  15. }
  16.  
  17. RTE.classes {
  18. checkmarks {
  19. name = Haekchen-Liste
  20. value = background-color:#eee;
  21. }
  22. #error-box {
  23. # name = Fehlermeldung (Box mit rotem Rahmen)
  24. # value = background: #fff; border: 1px solid red; padding: 5px; color: red;
  25. #}
  26. #stil-rot {
  27. # name = Rote Schrift
  28. # value = color: red;
  29. #}
  30. #stil-gruen {
  31. # name = GrĂ¼ne Schrift
  32. # value = color: green;
  33. #}
  34. }

Report this snippet  

You need to login to post a comment.