format

format

format
Type
string (keyword)
Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']
Scope
Display
RenderType
t3editor

The value specifies the language t3editor should handle. Allowed values: css, html, javascript, php, typoscript, xml

Examples

T3editor with format HTML

EXT:styleguide/Configuration/TCA/tx_styleguide_elements_t3editor.php
[
    'columns' => [
        't3editor_1' => [
            'exclude' => 1,
            'label' => 't3editor_1 format=html, rows=7',
            'description' => 'field description',
            'config' => [
                'type' => 'text',
                'renderType' => 't3editor',
                'format' => 'html',
                'rows' => 7,
            ],
        ],
    ],
]
Copied!