[TYPO3-dev] several instances of retehtmlarea editor with different layout

Martin Kutschker masi-no at spam-typo3.org
Wed Mar 11 13:24:13 CET 2009


Peter Russ schrieb:
> I would like to find some information on who to setup rtehtmlarea to
> provide different layouts for several instances in the same plugin:
> 
> EXPAMPLE:
> in bodytext links should be allowed further bodytext specific classes
> in subheader no links should be allowed and only 2 specific classes

In pageTS use:

RTE.config.tt_content.bodytext < RTE.default
RTE.config.tt_content.subheader < RTE.default

After that you can modify anything you want for that fields.

You can even use different setups for types:

RTE.config.tt_content.bodytext.types.textpic < RTE.default

Masi




More information about the TYPO3-dev mailing list