Project

General

Profile

Actions

Bug #102696

closed

RTE by CKEditor Documentation wrong

Added by Jan Leifert 11 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-12-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
CKEditor
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Chris Müller 11 months ago

  • Category changed from Documentation to RTE (rtehtmlarea + ckeditor)
Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF