-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Default button styles are broken when there are no editor styles provided #21561
Comments
cc @youknowriad could this be related to #21266? |
Testing using the Gutenberg Starter theme: https://github.com/WordPress/gutenberg-starter-theme Local site using Desktop Server. Testing Gutenberg version 7.9.0-rc.1. Result: Non selected button block: |
can confirm using a build from c3798f1 (also can confirm @carolinan 's issue as well; but I've been experiencing it after rebuilding Gutenberg from master last week; I just thought it was my slower computer ;p) |
I am also experiencing a delay when typing the button text, both with and without editor styles, that does not happen with 7.8. Win 10, WordPress 5.4, 7.9.0 RC 1, Chrome Version 81.0.4044.92, |
I can also confirm this bug using: Gutenberg 7.8 |
Looks like if gutenberg/packages/block-library/src/button/style.scss Lines 27 to 32 in c3798f1
|
Missed that variable, it should just be removed. |
Describe the bug
When a theme does not provide editor styles, buttons are currently appearing broken in the editor.
To reproduce
master
currently)Screenshots
Current, broken example:
Same block, but with the plugin deactivated:
Version
Gutenberg 7.9 RC1
The text was updated successfully, but these errors were encountered: