-
Notifications
You must be signed in to change notification settings - Fork 473
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
disparity between Button block in editor vs. frontend #1335
Comments
I wasn't able to replicate this issue. @GlennMartin1 could you help me answering some questions?
Thank you in advance! |
Ok - I've got the solution - or at least a workaround - keep reading. Yes, this happens with Storefront 2.5.5. Yes, it happens even with Storefront (without Homestore). The is only an issue for buttons that were created prior to Gutenberg 7.9.0. The OLD code (before Gutenberg 7.9.0) is this: The NEW code (after Gutenber 7.9.0) is this: You will note that the OLD code had My workaround is that I'm just creating new blocks. |
Related: WordPress/gutenberg#21685 Appears to be a Gutenberg bug. |
To be resolved with WordPress/gutenberg#21822 |
Awesome, thanks for investigating this @GlennMartin1. 👍 |
Describe the bug
The Button block incorrectly displays the button full-width in the frontend. It displays correctly in the editor.
Isolating the problem (mark completed items with an [x]):
To Reproduce
Screenshots
EDITOR:
FRONT-END:
Expected behavior
The front-end should display the button as it's shown in the editor.
The text was updated successfully, but these errors were encountered: