-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
The "Default" style is gone from WordPress 5.5. #24147
Comments
Our organization ran in to the same issue. Mainly need to know if this is an intended change so we can take it into account. |
Confirmed the issue. You can reproduce it by simply running the following in the browser console: wp.blocks.registerBlockStyle( 'core/list', {
name: 'test',
label: 'Test',
} ); In 5.4 you automatically get the "Default" and "Test" style, in 5.5 only "Test. The code for this is still seems to be there: gutenberg/packages/block-editor/src/components/block-styles/index.js Lines 113 to 119 in b9de73d
|
According to git bisect #22849 is the PR that introduced the regression. |
Thank you for always improving Gutenberg.
The "Default" style is gone from WordPress 5.5.
If you added your own block style from the theme or plugin side, the "default" style was displayed automatically until now.
Since this is gone, the block style cannot be undone.
Is this a specification?
If you add the "default" style for 5.5 or later, you will see two "default" styles before 5.4, which is a little troublesome.
I want to know why it was changed like this.
Screenshots
WordPress 5.4
WordPress 5.5
The text was updated successfully, but these errors were encountered: