Actions
Bug #102230
closedEpic #99669: CKEditor5 Collection
Former CKEditor definitions no longer work after updating to TYPO3 v12.4.7
Status:
Resolved
Priority:
Should have
Assignee:
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
Actions