Project

General

Profile

Actions

Bug #103535

closed

Provide a way to import/set path to editor.css

Added by wini2 no-lastname-given 3 months ago. Updated 4 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2024-04-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As far as I understand, the path to editor.css is hardcoded. Because of the pretty small dropdown for styles, I'd like to adjust some settings. It seems there is no way but editing the editor.css in the core.

Actions #1

Updated by Benni Mack 4 days ago

  • Status changed from New to Closed

Hey,

the editor.css isn't hard-coded per se, but integrated into the custom RichTextElement that extends FormEngine: https://github.com/TYPO3/typo3/blob/main/typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php#L167

Thus, it is also possible to add a custom FormENgine parts to also include custom CSS: https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/FormEngine/Index.html

Actions

Also available in: Atom PDF