Issue Bug Closed

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

wini2 no-lastname-given 04/04/24, 16:36 updated 06/26/24, 05:37

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Benni Mack commented and changed status New Closed 06/26/24, 05:37

    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