-
Notifications
You must be signed in to change notification settings - Fork 36
Make Custom CSS work with FSE #1314
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
Bundle Size Diff
|
|
Plugin build for 52864af is ready 🛎️!
|
E2E SummaryTyping
Values above 60ms"6 - 62.65, 14 - 74.06, 18 - 77.70, 22 - 75.06, 24 - 85.93, 29 - 78.75, 34 - 75.99, 35 - 62.82, 36 - 75.37, 38 - 90.88, 43 - 74.53, 45 - 230.31, 47 - 80.27, 49 - 80.12, 53 - 69.34, 55 - 75.48, 60 - 69.78, 61 - 72.16, 62 - 75.33, 67 - 72.51, 69 - 72.57, 71 - 75.39, 73 - 74.47, 76 - 79.00, 79 - 73.40, 82 - 80.09, 87 - 74.77, 94 - 77.50, 97 - 73.26, 98 - 63.03" |
|
@HardeepAsrani Tested and the issue is fixed for Mobile/Tablet view in single posts, but it still isn't working in the Site editor, both editor and frontend. You can check on this instance: |
|
@HardeepAsrani I checked again and i was trying to add custom css to blocks that were inside the Post content block, and nothing was applied https://vertis.d.pr/i/u9Z2aG. When i added the same blocks as top level blocks and added the CSS, they looked ok https://vertis.d.pr/i/bTKlxR. Let me know if this is the expected behaviour Also, after i refresh the site editor, the CSS is not applied anymore, until i make a change to it. Here is a video to better outline the issue https://vertis.d.pr/v/wvJdKu |
It's happening because some of those items require you to be more specific, like for Post Title, you need to target the link inside instead of just selector. I'll fix the other one. |
|
@HardeepAsrani Thanks for explaining, the second issue is fixed now so i'm moving this to Ready to merge 🚀 |
|
🎉 This PR is included in version 2.1.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |


Summary
This fixes the issue with Custom CSS extension not working with FSE & Tablet/Mobile view in Post Editor.
Test instructions
Make sure it works correctly both in back/front in both FSE/Post Editor. It won't work on Widgets/Customizer.
Checklist before the final review