Project

General

Profile

Actions

Bug #100505

closed

RTE loads CSS file path as string, but path comes as array

Added by Christoph Kratz over 1 year ago. Updated 5 months ago.

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #99327: CKEditor: Multiple stylesheets in config.contentsCss are not working anymoreClosed2022-12-09

Actions
Actions

Also available in: Atom PDF