-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Light block: automatically add block class #20658
Conversation
Size Change: +23 B (0%) Total Size: 863 kB
ℹ️ View Unchanged
|
@youknowriad This is based on your feedback here: #19910 (comment). |
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.
I didn't test but this looks good
Thanks! |
See #20849 for more details. It needs to be validated. |
I locally tracked an issue with image selection down to this change, I'm looking into getting it working at the moment or if we can revert #21114 |
… due to issues: WordPress#21152 WordPress#21114 This reverts commit 8a94254.
Description
This PR removes the need for a light block to add the auto generated class name to the editor block DOM. This class name can be automatically added in the
Block.*
component, based on support for this class name.This PR also removes the
wp-block-paragraph
class from the paragraph block in the editor, since the block opts out. I'm not sure why this was hardcoded.How has this been tested?
Screenshots
Types of changes
Checklist: