-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creatio Theme does not accept custom fonts #8044
Comments
Thank you for reporting this @sbathompson-he. I was unable to replicate it following these steps:
Are you still able to replicate this? Thank you! |
I can reproduce the issue, but only on the reported site. Rather, it seems to be a Jetpack Google Fonts issue or directly related to how we handle fonts on Dotcom. The error is triggered by this line from Gutenberg, which expects the All my own test sites return an array like this: [
{
fontFamily: "Cormorant",
fontStyle: "normal",
fontWeight: "300",
src: "https://fonts.wp.com/s/cormorant/v21/H4c2BXOCl9bbnla_nHIA47NMUjsNbCVrFk9TQ7Fg7A2uwYs.woff2",
},
// ...
] On the reported site, however, the variable is an object (and in a very different format): {
"libre-baskerville-100-900-italic": {
fontDisplay: "fallback",
fontFamily: "Libre Baskerville",
fontStyle: "italic",
fontWeight: "100 900",
origin: "gutenberg_wp_fonts_api",
provider: "jetpack-google-fonts",
},
// ...
} I'm not familiar with how we handle external fonts, and I know it's a very complex affair. |
Hey team! The user followed up here: 9316294-zd-a8c and mentioned that they are still experiencing this issue. It looks like this one is a work in progress, but I just wanted to send an update. Thank you |
Support References This comment is automatically generated. Please do not edit it.
|
Quick summary
The Creatio theme does not allow users to use custom fonts. When a user changes the font from default, certain blocks break and cannot be recovered unless a page refresh is done. I tested this on a test site and found the same issue, so it must be tied to the theme.
I also noticed, that when the Global Style font is changed, it does not change the already affected blocks. The font remains.
Steps to reproduce
What you expected to happen
Shouldn't break and should remain editable
What actually happened
Screen.Recording.2024-08-22.at.12.50.35.PM.mov
Impact
Most (> 50%)
Available workarounds?
Yes, difficult to implement
If the above answer is "Yes...", outline the workaround.
Create new blocks and paste in the content using the default font
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: