Issue Bug Closed

#102696RTE by CKEditor Documentation wrong

Jan Leifert 12/19/23, 09:21 updated 04/30/24, 13:28

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Chris Müller changed category 12/19/23, 09:26

  2. Sebastian Klein commented 12/21/23, 19:49

    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: 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.

  3. Chris Müller commented and changed status New Closed 04/30/24, 13:28

    I assume, this issue is not relevant anymore, as the wrong documentation version was used. I close it therefore.