-
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
Add block styles slot to the site editor so block style previews can be rendered #40245
Conversation
Size Change: +17 B (0%) Total Size: 1.22 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.
Changes looks good the me. Thanks, @glendaviesnz.
This is working well for me, thanks for adding it in. BeforeAfterI also checked the post editor and widget editor implementations and this is consistent. ✅ Other PRs for reference: |
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.
LGTM!
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.
…be rendered (#40245) Co-authored-by: Glen Davies <glen.davies@a8c.com>
This was backported to 13.0 RC3 |
What?
Adds
BlockStyles.Slot
to the site editorWhy?
Currently block style previews are not rendered when they are hovered or focused in the site editor. Fixes: #40064
How?
Adds
BlockStyles.Slot
into the site editor content areaTesting Instructions
Screenshots or screencast
Before:
preview-before.mp4
After:
preview-after.mp4