[TYPO3-rte] RTE customization in FCE

Stanislas Rolland typo3 at sjbr.ca
Fri Sep 11 02:01:23 CEST 2009


  Hi Prakash,
> 
> I created an FCE in Typo3 4.2.8.
> 
> Inside my FCE I am trying to remove some RTE buttons and have only those I need.
> I am also trying to change the order in which buttons are displayed.
> 
> I followed the Typo3 Core API Guide and tried adding only cut copy and paste buttons as follows:
> <defaultExtras>richtext[cut|copy|paste]:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
> 
> Inspite of this I still see the entire list of buttons in the RTE, the order of buttons in the RTE are also not the same as specified in my Page TSCONFIG!
> 
> What could be wrong, how can I make sure that the RTE inside my FCE looks same as per my Page TSCONFIG?
> 
The list of buttons that you specify in your FCE structure is added to 
the list derived from Page TSConfig.

Therefore, you should nullify the list of buttons specified in Page 
TSConfig with:
RTE.default.showButtons >
or
RTE.config.[tablename].[fieldname].showButtons =
Then you will get the buttons specified in your FCE structure.

Or, assuming that all RTE-enabled elements of your FCE require the same 
list of buttons, you could remove the list of buttons from your FCE 
definition, and specify it in Page TSConfig with:
RTE.config.[tablename].[fieldname].showButtons = cut,copy,paste

Regards,
Stanislas



More information about the TYPO3-project-rte mailing list