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
Updated by Oliver Hader over 1 year ago
- Related to Bug #99327: CKEditor: Multiple stylesheets in config.contentsCss are not working anymore added
Updated by Oliver Hader over 1 year ago
- Private changed from Yes to No
This has been fixed with #99327
Actions