-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigation inline CSS gets injected despite wp_dequeue_style( 'wp-block-navigation' );
#59142
Comments
Hi, |
Yes, still relevant, the style may come from core/button(s) or some general GB base styles. |
Hi, |
.... |
Sorry for the late reply. The style is defined here and cannot be deleted with However, upon closer inspection, this style itself appears to be unnecessary. I plan to submit a PR to remove this style. |
Description
Using WP 6.4.3 without GB active does not have this issue.
I use
If I remember this right, dequeueing the styles should also remove the inline styles. I think it does so for different blocks, but I am not sure.
Some of the more recent versions of GB add this style that fucks up my styles. It should not be printed when the styles are dequeued.
How do I remove it? Is there a workaround?
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WP 6.4.3
GB 17.7.0
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: