Project

General

Profile

Actions

Bug #102230

closed

Epic #99669: CKEditor5 Collection

Former CKEditor definitions no longer work after updating to TYPO3 v12.4.7

Added by Jasmina Ließmann 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-10-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I have a project with various custom RTE presets to arrange the toolbars according to their intended use. After updating to TYPO3 v12.4.7, the RTEs no longer work and result in an empty text area without RTE.
I found out that the spelling/definition needs to be adjusted.

Old definition, which worked in version 12.4.6:

imports:
  - { resource: "EXT:sitepackage/Configuration/Yaml/Editor/Default.yaml" }

editor:
  config:
    toolbar:
      - { name: clipboard, items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord' ] }
      - { name: formating, items: [ 'RemoveFormat' ] }
      - { name: undo, items: [ 'Undo', 'Redo' ] }
      - { name: editing, items: [ 'Find', 'Replace', 'Scayt' ] }
      - { name: tools, items: [ 'ShowBlocks' ] }
      - { name: document, items: [ 'Source' ] }
      - '/'
      - { name: basicstyles, items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript' ] }
      - { name: insert, items: [ 'SpecialChar' ] }
      - { name: language, items: [ 'Language' ] }

    removePlugins:
      - quicktable

New definition, which now works in version 12.4.7:

imports:
  - { resource: "EXT:sitepackage/Configuration/Yaml/Editor/Default.yaml" }

editor:
  config:
    toolbar:
      items:
        - clipboard
        - removeFormat
        - '|'
        - undo
        - redo
        - '|'
        - find
        - selectAll
        - '|'
        - showBlocks
        - sourceEditing
        - '-'
        - bold
        - italic
        - underline
        - strikethrough
        - subscript
        - superscript
        - softhyphen
        - '|'
        - specialCharacters

As addition:
The referenced EXT:sitepackage/Configuration/Yaml/Editor/Default.yaml file includes configuration like:

imports:
  - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
  - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
  - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }

editor:
  config:
    #contentsCss
    #wordCount
    #heading
    #stylesSet
    #removePlugins
    #extraPlugins

#buttons
#classesAnchor

Files

old-config-12-4-7.png (6.46 KB) old-config-12-4-7.png Benjamin Franzke, 2023-10-24 08:48
new-config-12-4-7.png (6.31 KB) new-config-12-4-7.png Benjamin Franzke, 2023-10-24 08:48
sitepackage.zip (4.02 KB) sitepackage.zip Jasmina Ließmann, 2023-10-24 19:33

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #102245: CKEditor5 removePlugins configuration is not properly serialized as JSON array when some array items are migratedResolvedBenjamin Franzke2023-10-24

Actions
Actions

Also available in: Atom PDF