Actions
Bug #100768
closedEpic #99669: CKEditor5 Collection
CKEditor 5: Incorrect webfont path in backend
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2023-04-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
After TYPO3 Upgrade to TYPO3 v12 LTS the webfonts in the RTE/CKEditor v5 not working well.
In Frontend it works well.
Composer Installation
CSS File frontend and rte.css
@font-face {
font-family: "roboto_condensedregular";
src: url("../../Fonts/robotocondensed-regular-webfont.eot");
src: url("../../Fonts/robotocondensed-regular-webfont.eot?#iefix") format("embedded-opentype"), url("../../Fonts/robotocondensed-regular-webfont.woff2") format("woff2"), url("../../Fonts/robotocondensed-regular-webfont.woff") format("woff"), url("../../Fonts/robotocondensed-regular-webfont.ttf") format("truetype"), url("../../Fonts/robotocondensed-regular-webfont.svg#roboto_condensedregular") format("svg");
font-weight: normal;
font-style: normal;
}
Frontend file path
CSS: https://www.domainname.tld/_assets/40bdfa44c70e4b3480c28be680c2f7f2/Css/Dist/styles.css?1682583229
-> Working
Webfonts: https://www.domainname.tld/typo3/Fonts/robotocondensed-regular-webfont.woff2
-> Wrong - Not working
I think the generated RTE css should also be in "_assets" to work probably with other assets like webfonts...
Best regards
Sam
Actions