Attention
TYPO3 v11 has reached end-of-life as of October 31th 2024 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
richtextConfiguration
richtextConfiguration
-
- Type
- string (keyword)
- Path
- $GLOBALS['TCA'][$table]['columns'][$field]['config']
- Scope
- Display / Proc.
- RenderType
- default
The value is a key in
$GLOBALS
array and specifies the YAML configuration source field used for that RTE field. It does not make sense without having property enableRichtext set to true.['TYPO3_ CONF_ VARS'] ['RTE'] ['Presets'] Extension
rte_
registers three presets:ckeditor default
,minimal
andfull
and points to YAML files with configuration details.Integrators may override for instance the
default
key to point to an own YAML file which will affect all core backend RTE instances to use that configuration.If this property is not specified for an RTE field, the system will fall back to the
default
configuration. The preset can be overridden with page TSconfig RTE.
Examples
RTE with minimal configuration
[
'columns' => [
'rte_4' => [
'exclude' => 1,
'label' => 'rte_4 richtextConfiguration=minimal',
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'minimal',
],
],
],
]
RTE with full configuration
[
'columns' => [
'rte_5' => [
'exclude' => 1,
'label' => 'rte_5 richtextConfiguration=full',
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'full',
],
],
],
]
RTE with default configuration
[
'columns' => [
'rte_2' => [
'exclude' => 1,
'label' => 'rte_2 default value',
'config' => [
'type' => 'text',
'default' => 'rte_2',
'enableRichtext' => true,
],
],
],
]