enableRichtext

enableRichtext
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

boolean

Scope

Display / Proc.

RenderType

default

If set to true, the system renders a Rich Text Editor if that is enabled for the editor (default: yes), and if a suitable editor extension is loaded (default: rteckeditor).

If either of these requirements is not met, the system falls back to a <textarea> field.

Rich text editor (RTE)

../../../../_images/Rte1.png
EXT:styleguide/Configuration/TCA/tx_styleguide_elements_rte.php
'columns' => [
    'rte_1' => [
        'exclude' => 1,
        'label' => 'rte_1 description',
        'description' => 'field description',
        'config' => [
            'type' => 'text',
            'enableRichtext' => true,
        ],
    ],
]