-
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
Block Editor: Fix the issue with block style preview when example missing #29894
Conversation
Size Change: -4 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Thanks!
I'm wondering if we should always preview the hovered block instead of the provided example
.
If there is no content or too much content then an example seems to be a better choice. I think this how we ended up with the current approach. |
Description
Fixes #29876.
The issue was described as follows:
How has this been tested?
I applied the following diff in the Gutenberg repository to reproduce the issue for the Query block:
Then I tested with this branch:
Screenshots
Types of changes
Bug fix (non-breaking change which fixes an issue).
Checklist: