enableTabulator¶
-
enableTabulator
¶ -
- Type
- boolean
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']
- Scope
- Display
- RenderType
- default, textTable
Enabling this allows to use tabs in a text field. This works well together with fixed-width fonts (monospace) for code editing.
Does not apply to RTE fields.
Examples¶
Fixed font field with tabulators enabled¶
[
'columns' => [
'text_15' => [
'exclude' => 1,
'label' => 'text_15',
'description' => 'enableTabulator, fixedFont',
'config' => [
'type' => 'text',
'enableTabulator' => true,
'fixedFont' => true,
],
],
],
]
Copied!