Light
Dark
bodytext in TCA/Overrides/tt_content.php
$version = \TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version);
$teaserRteConfiguration = $version < 8000000 ? 'richtext:rte_transform[flag=rte_enabled|mode=ts_css]':'';
$GLOBALS['TCA']['tt_content']['types']['customerxece_ece'] = array(
'showitem' => '
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.general;general,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.header;header,
bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext_formlabel,
--div--;LLL:EXT:customerx_ece/Resources/Private/Language/locallang_db.xlf:tx_customerxece.image,
image,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:tabs.appearance,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.frames;frames,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:tabs.access,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.visibility;visibility,
--palette--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:palette.access;access,
--div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xml:tabs.extended,
',
'columnsOverrides' => array(
'bodytext' => array(
'defaultExtras' => $teaserRteConfiguration,
'config' => array(
'enableRichtext' => true,
'richtextConfiguration' => 'default'
),
)
)
);
bodytext in FlexForm
<settings.text>
<TCEforms>
<label>Description of iframe</label>
<config>
<type>text</type>
<cols>48</cols>
<rows>5</rows>
<!-- new -->
<enableRichtext>1</enableRichtext>
<richtextConfiguration>default</richtextConfiguration>
<!-- new end -->
<wizards>
<_PADDING>4</_PADDING>
<_VALIGN>middle</_VALIGN>
<!-- remove
<RTE>
<notNewRecords>1</notNewRecords>
<RTEonly>1</RTEonly>
<type>script</type>
<title>LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.W.RTE</title>
<icon>actions-open</icon>
</RTE>
-->
</wizards>
</config>
<!-- remove
<defaultExtras>richtext[bold|italic|underline|lefttoright|righttoleft|left|center|right|orderedlist|unorderedlist| insertcharacter|link|image|findreplace|removeformat|copy|cut|paste|undo|redo|toggleborders|chMode]:rte_transform[mode=ts]</defaultExtras>
-->
</TCEforms>
</settings.text>