Actions
Bug #100505
closedRTE loads CSS file path as string, but path comes as array
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2023-04-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The CKEditor5 can be given an optional CSS file. This creates an error because the path is read as a string but comes as an array.
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php:130
Error:
$styleSrc = (string)($ckeditorConfiguration['options']['contentsCss'] ?? '');
Possible solution:
$styleSrc = (string)($ckeditorConfiguration['options']['contentsCss']0 ?? '');
Files
Actions