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 #1

Updated by Christoph Kratz over 1 year ago

  • Private changed from No to Yes
Actions #2

Updated by Oliver Hader over 1 year ago

  • Related to Bug #99327: CKEditor: Multiple stylesheets in config.contentsCss are not working anymore added
Actions #3

Updated by Oliver Hader over 1 year ago

  • Private changed from Yes to No

This has been fixed with #99327

Actions #4

Updated by Oliver Hader over 1 year ago

  • Status changed from New to Resolved
Actions #5

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF