Bug #102696
closedRTE by CKEditor Documentation wrong
0%
Description
I wanted my own RTE configuration. According to the documentation, it should look like this..:
editor:
config:
toolbar:
items:
- bold
But that didn't work. After a bit of trial and error, this one worked:
editor:
config:
toolbar:
-
name: basicstyles
items:
- Bold
Apparently the documentation is not up to date
Updated by Chris Müller 11 months ago
- Category changed from Documentation to RTE (rtehtmlarea + ckeditor)
Updated by Sebastian Klein 11 months ago
Your first code snippet from the TYPO3 documentation is valid only for TYPO3 v12, which ships CKEditor 5.
In TYPO3 v11 and below, CKEditor 4 is used. You can find the documentation for this version here.
Tip: In the official TYPO3 docs, you can select the appropriate TYPO3 version in the left column above the search bar ("Release" dropdown).
There are many differences in YAML configuration between these versions, some are described in this changelog entry
Beside your already described solution, other possible notations for TYPO3 v11 are:
editor: config: toolbar: - { name: 'basicstyles', items: [ 'Bold' ] }
editor: config: toolbar: - ['Bold']
You can find these notations in the CKEditor 4 documentation.
Updated by Chris Müller 7 months ago
- Status changed from New to Closed
I assume, this issue is not relevant anymore, as the wrong documentation version was used. I close it therefore.