#100768CKEditor 5: Incorrect webfont path in backend
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
Reviews 8
- 12.4 83238[DOCS] Add note about limitations of CKEditor5 CSS styling
- main 83265[DOCS] Add note about limitations of CKEditor5 CSS styling
- main 83048[BUGFIX] Preserve ordering of prefixed CKEditor5 CSS stylesheets
- 12.4 83094[BUGFIX] Preserve ordering of prefixed CKEditor5 CSS stylesheets
- main 83035[DOCS] Update CKEditor5 CSS styling limitations section
- 12.4 82985[DOCS] Update CKEditor5 CSS styling limitations section
- 12.4 81308[BUGFIX] Apply CKEditor5 CSS scoping client-side
- main 81295[BUGFIX] Apply CKEditor5 CSS scoping client-side