Gutenberg 15.1 was launched this week with Openverse integration within the Media tab. The Openverse library of overtly licensed and public area works has additionally moved to its own website with an up to date design. It incorporates greater than 600 million free-to-use photos and audio information that at the moment are out there inside WordPress’ editor:
Clicking on an Openverse picture will immediately insert it as an Picture block with the correct attribution and license mechanically added to the caption. The expertise is a lot sooner than downloading from the Openverse web site after which importing to the Media Library.
One other main spotlight in 15.1 is the flexibility to add custom CSS on a per-block basis. This may be accomplished via the World Types menu within the Web site Editor. For every block you may add your individual CSS to customise the block look by scrolling to the underside of the panel to the “Further Block CSS” button. These CSS edits will likely be utilized to all situations of the block on the positioning.
Gutenberg 15.1 additionally introduces support for shadow presets in World Types, with 4 defaults out there (Pure, Crisp, Sharp, and Softy), and the flexibility for theme authors so as to add customized presets by way of ‘theme.json’. The announcement publish included a video that demonstrates the brand new UI:
In 15.1 Navigation has been added to the browse mode sidebar within the Web site Editor, so customers can rapidly entry their menus and menu gadgets, rearrange them by way of drag and drop, or navigate the hyperlinks.
This launch makes some changes to the “paste styles” feature that was launched in version 15.0. The Choices menu within the block toolbar now shows each “Copy types” and “Paste Types” to make it simpler to know the way to use the function, because it beforehand was unclear with simply the “Copy Types” choice out there.
Gutenberg 15.2 improves the Site Editor loading state for higher initialization. This is a vital replace for making the Web site Editor prepared to return out of Beta. It’s not a whole answer however makes it a bit extra polished with the next modifications, as outlined by Riad Benguella within the PR:
- A CanvasSpinner that can be utilized in elements which have a “prepared” state. So as a substitute of rendering an empty white web page, the spinner is rendered when these elements usually are not prepared.
- Makes certain the iframe has a “white” background by default to avoids an excessive amount of background shade switches throughout initialization.
These are just some of the highlights. Take a look at the 15.1 release post for the complete checklist of enhancements, bug fixes, efficiency enhancements, and tooling modifications.