-
Notifications
You must be signed in to change notification settings - Fork 10.7k
FSE: Fix icon fonts not being loaded in the Site Editor #35532
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
Conversation
Test Results SummaryCommit SHA: b96ed61
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
Aljullu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirming it fixes the issue. Thanks for investigating this, @danieldudzic!
I have only one small concern: if you have a classic theme active (ie: Storefront) and create a post, you will see woocommerce-blocktheme.css is loaded in the editor, which I think is undesirable. I left a comment below of how I think this could be solved.
Aljullu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this PR, @danieldudzic! LGTM, but I will tag somebody from Proton to take a second look given that it's a PR in WC core.
All Submissions:
Changes proposed in this Pull Request:
WooCommerce loads icon fonts on the frontend, but doesn't in FSE, resulting in broken icons in the Site Editor. This PR ensures the fonts get loaded in the Site Editor.
Closes #35495
How to test the changes in this Pull Request:
Screenshots
Other information:
pnpm --filter=<project> changelog add?FOR PR REVIEWER ONLY: