[TYPO3] htmlArea RTE - how to add paragraph types in the paragraph type s elector?
christian oettinger
christian.oettinger at gmx.de
Wed Feb 22 20:54:53 CET 2006
little time, so in a rush:
you need a css-file that defines your classes (has nothing to do with
output css-file!).
You have to embed it like this:
RTE.default {
useCSS = 1
contentCSS = fileadmin/gestaltung/oe_rte_css.css
classesParagraph = mainBodyText, header2
}
you hve to have the same classes in that file as in line "
classesParagraph = mainBodyText, header2"
maybe you have to also define allowed classes for a special field (in
addition to default, in my case it was like this, don't know why) syntax
like this:
RTE.config.tt_content.bodytext.proc.allowedClasses =
normal,italic,fett,bulletlist
Also you have to clear all the caches, including the caches of your
Browser(!) or it won't work
I have to go now, hope this helps
greetings from munich!
oe (christian)
More information about the TYPO3-english
mailing list