Gutenberg 13.5 Adds Featured Image Placeholder Support for Cover Block, Cleaner Pasting to Other Apps – WP Tavern

Gutenberg 13.5 is now obtainable. The discharge comes two weeks after the plugin launched assist for button components in theme.json, axial spacing within the Gallery block, and a redesigned Publish popover in 13.4. The newest launch contains 12 enhancements and 15 bug fixes with essentially the most notable adjustments touchdown within the Cowl block.

Previous to 13.5, the Cowl block’s assist for utilizing a featured picture had a extra complicated UI with a separate button within the block toolbar. The featured picture toggle has now been relocated to the media replace flow. The Cowl block has additionally been up to date to display a placeholder when the featured picture in use.

picture supply: Gutenberg 13.5 release post

The Cowl block’s overlay colour and opacity controls have been moved into the inspector controls sidebar’s Color panel for consistency to match the UI for different blocks.

Gutenberg 13.5 additionally expands the design instruments obtainable to the Publish Navigation block. Customers can now set the hyperlink colour and font household. That is a kind of conditions the place contributors discussed how a lot design management is sensible for customers on this context. Automattic-sponsored contributor Jeff Ong made the case for cases the place customers might need to have put up navigation use the heading font, as a substitute of the physique font.

picture credit score: Jeff Ong – Gutenberg PR #41378

One small replace to the Publish date picker is that it now highlights at the moment’s date, increasing on the popover design update launched in 13.4.

Gutenberg customers who ceaselessly copy and paste between different writing apps could also be happy to be taught that model 13.5 introduces a change that strips the HTML from copied block markup for the textual content/plain model of the clipboard. Gutenberg engineer Andrei Draganescu defined the reasoning behind the change:

Pasting into plain textual content editors ought to solely paste the textual content we see on display screen not the entire underlying markup.

That is an enchancment within the expertise of writing in a unique app reasonably than within the WordPress editor itself, after which bringing over the content material. Since one may transfer textual content content material forwards and backwards just a few occasions, pasting block markup is annoying if not even liable to introducing issues.

Previous to this modification, pasting from Gutenberg into one other app seemed one thing like this:

Stripping the HTML out of serialized information within the copy handler earlier than putting it within the textual content/plain model ends in a cleaner paste, as Draganescu demonstrated in a video:

Take a look at the release post for a full record of adjustments in 13.5. In the event you don’t have the Gutenberg plugin put in, you’ll have to wait till the following main WordPress launch to reap the benefits of these fixes and enhancements. WordPress 6.1’s launch date was announced at the moment as October 25, 2022, following a protracted alpha and two quick beta intervals.

Leave a Reply

Your email address will not be published. Required fields are marked *