[TYPO3-RTE] obsolete configuration for formatblock button ?
Fabien Udriot
fudriot at omic.ch
Sat Jun 7 11:54:47 CEST 2008
Hello
I noticed a obsolete (?) TypoScript configuration in the manual of rtehtmlarea.
The "formatblock" button is a dropdown menu which has by default = p, h1, h2, h3, h4, h5, h6, pre,
address, blockquote, div. I would like to simplify the dropdown menu and remove some unnecessary
tags for some backend users.
According to the documentation, the following line should limit the number of available <tag> for
the dropdown menu "formatblock". This line should be put in the *User* TSConfig:
page.RTE.default.buttons.formatblock.restrictToItems = p, h1, h2 ....
Unfortunately, this configuration does not work. As result, I get an *empty* "formatblock" and I am
wondering if it because I use TYPO3 4.2.
Is it a bug? Can we remove this line from the documentation?
Finally, I found in the documentation an other way to configure "formatblock". This line has to be
put in a *Page* TSConfig :
RTE.default.buttons.formatblock.orderItems = p, h1, h2, h3
Now you only have 4 tags in the "formatblock". :)
kind regards,
Fabien
More information about the TYPO3-project-rte
mailing list