Rich text editor (RTE)¶
The RTE is by default supplied by the system extension typo3/cms-rte-ckeditor . See also the according chapter in TYPO3 explained.
In TCA a RTE is a normal text
field with the
option enableRichtext enabled.
Table of contents:
Examples for Rich text editor fields in the TYPO3 Backend¶
RTE with minimal configuration¶
[
'columns' => [
'rte_4' => [
'label' => 'rte_4 richtextConfiguration=minimal',
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'minimal',
],
],
],
]
Copied!
RTE with full configuration¶
[
'columns' => [
'rte_5' => [
'label' => 'rte_5 richtextConfiguration=full',
'config' => [
'type' => 'text',
'enableRichtext' => true,
'richtextConfiguration' => 'full',
],
],
],
]
Copied!
RTE with default configuration¶
[
'columns' => [
'rte_2' => [
'label' => 'rte_2 default value',
'config' => [
'type' => 'text',
'default' => 'rte_2',
'enableRichtext' => true,
],
],
],
]
Copied!
Properties of the TCA column type text
with enabled rich text¶
Almost all properties of field type text are available.