Closed rvock closed 2 years ago
@rvock I would say, i have never needed it. But i would be happy if you could provide a feature PR for that.
@rvock I have basically copy and paste your suggestion. Well done. Works like a charm. I am gonna create a PR for that and will merge it. Thanks a lot.
Thanks a lot 👍
Currently it's not possible to use CSS files generated by TYPO3 Encore as files for RTE.
The CSS for RTE is configured in Yaml-Files:
TYPO3 Documentation for RTE ckeditor Documentation regarding contentsCss
I would expect, that I can use
typo3_encore:rte
for the entrypointrte
. But this is not changed/processed by TYPO3 Encore.I am not sure, if this is a bug or a feature request, because TYPO3 Encore should not be used for RTE CSS.
If it should work, I think the best way is to add a Form Data Provider, which changes the
contentsCss
value:The DataProvider could look like this: