-
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
Can't remove block library stylesheet from the editor #15007
Comments
@rocketdevcorp Are you using handle This is the weird part. In I'm using WP 5.1.1 and the Gutenberg plugin 5.4.0. But when I pulled latest code from |
@samikeijonen I had already updated to Gutenberg plugin 5.5.0 before I saw your message, but I can say that now (WP 5.1.1 and GB 5.5.0), neither handle are working. I posted this as a new bug report, instead of just adding to #7776, because what you had reported as working before no longer works. But I guess this issue is really more of a Feature Request. I concur that devs really do need to be able to remove this stylesheet, or else the WYSIWYG selling point of Gutenberg goes away. |
I confirm that in plugin version |
Changing the hook to |
I'll confirm this works, thanks @justintadlock! @rocketdevcorp I'm going to close this ticket now, but feel free to re-open if something is unclear. |
Side note: The |
To reproduce
In #7776 others have said that they were able to remove 'wp-block-library-css' from the back end using similar code to this:
It's not working for me. I also tried adjusting the priority on the action.
I'm using WP 5.1.1 and the Gutenberg plugin 5.4.0.
The text was updated successfully, but these errors were encountered: