Example¶
Code highlighting with code editor¶
![Code editor with highlighting HTML](../../../../Images/ManualScreenshots/Codeeditor.png)
Code editor with highlighting HTML
Excerpt of TCA definition (EXT:my_extension/Configuration/TCA/tx_myextension_domain_model_mytable.php)
[
'columns' => [
'codeeditor1' => [
'label' => 'codeEditor_1 format=html, rows=7',
'description' => 'field description',
'config' => [
'type' => 'text',
'renderType' => 'codeEditor',
'format' => 'html',
'rows' => 7,
],
],
],
]
Copied!