Gutenberg 22.5 reads like another round of biweekly polish, but two of the entries are things I have wanted for a while. If you have ever fought the editor to apply one style to one block, or to stop a hero image from setting its own proportions, this release covers both.
With WordPress 7.0 approaching, the work is moving from adding features to making the existing ones behave. Native block CSS and the stabilized viewport-based visibility both sit in that second group, which is the kind of change that matters when you maintain client sites. It continues the cleanup that Gutenberg 22.1 started.
Gutenberg 22.5: native custom CSS for individual blocks
Gutenberg 22.5 supports custom CSS on individual block instances. Before this, styling one block without touching every other block of the same type meant adding a custom HTML class, saving, then switching over to your global stylesheet or the Site Editor. That is three steps across two screens for one rule.
The editor now adds a has-custom-css class on its own, in the editor and on the frontend for dynamic blocks, so the styles stay scoped to the instance you meant. It beats wrapping a block in another block just to change a margin or a border radius.
/* How Gutenberg 22.5 handles scoped block styles */
.wp-block-paragraph.has-custom-css {
background: linear-gradient(to right, #f0f, #00f);
padding: 2rem;
border-radius: 12px;
}
Aspect ratio control for wide and full alignment
Set an image to wide or full width and the aspect ratio controls used to disappear, which left the image’s own dimensions in charge. That is where the layout shifts came from, along with the occasional vertical photo eating three screens of height.
Gutenberg 22.5 fixes that. You can lock a ratio such as 16:9 or 21:9 while still using a wide alignment, so the proportions hold at every screen size and the custom CSS workaround goes away. The Gutenberg 22.4 breakdown covers the pattern overrides that landed just before this one.
List View improvements
The List View used to print “List Item” or “Paragraph” twenty times in a row, which turned a long document into a guessing game. List items now show their actual content there, so you can tell your sections apart without clicking into each one. Small change, and it saves a lot of clicking.
Other technical highlights
- The Cover block accepts a focal point even with a parallax or fixed background.
- The Paragraph block now has native text column support through block supports.
- A new toggle keeps submenus permanently expanded in the Navigation block.
If keeping up with releases like this is eating your dev hours, I take that work on. I have been wrestling with WordPress since the 4.x days.
Worth testing now
Most of 22.5 is stability and workflow. CSS moves to the block level, alignment stops fighting aspect ratio, and viewport-based block visibility is stable, which puts responsive design closer to what you see being what you get. None of this needs to wait for WordPress 7.0, so run the plugin and test it.