[TYPO3-RTE] obsolete configuration for formatblock button ?

Chris chris at oblady.com
Sun Jun 8 13:56:56 CEST 2008


Did you try this ?

------------------------------------------------------------------------
## Hide infrequently used paragraph types in the paragraph type selector 
(formatblock button)
RTE.default {
  ...
  hidePStyleItems = pre,address
  ...
}
------------------------------------------------------------------------

the example is given here : 
http://typo3.org/documentation/document-library/extension-manuals/rtehtmlarea/1.4.4/view/5/2/


Chris

Fabien Udriot a écrit :
> 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