Gutenberg 5.0 Adds New RSS Block, Amazon Kindle Embed Block, and FocalPointPicker Component

Version 5.0 of the Gutenberg plugin was released yesterday with a new RSS block. Riad Benguella, the project’s technical lead for phase 2, published a demo of the block and its settings. Users can set the number of items displayed and also toggle on/off the author, date, and excerpt.

RSS is still relevant today as one of the linchpins of the open web and Gutenberg makes it possible to easily place a feed inside a post or page. (This feature was previously limited to widgetized areas.) The creation of this block is part of a larger effort to port all of WordPress’ existing core widgets over to blocks.

Version 5.0 also introduces a new Amazon Kindle embed block, providing an instant preview from an Amazon Kindle URL. WordPress already has oembed support of Amazon Kindle URLs but it was missing from the Embeds section of the accordion in the block inserter.

One of the most exciting additions in this release is a new FocalPointPicker for the Cover block. It allows users to visually select the ideal center point of an image and returns it as a pair of coordinates that are converted into ‘background-position’ attributes. The result is that the user has more control over how the image is cropped. This feature solves so many problems users have experienced in cropping and displaying images in their WordPress themes and content. The FocalPointPicker was created as a reusable component so that developers can use it to build other blocks with the same capabilities, providing an experience that is consistent with core.

Focal point picker

The changes included in Gutenberg 5.0 are immediately available for those running the plugin on their sites but only for WordPress 5.0+. This release drops support for earlier versions of WordPress. The updates in Gutenberg 5.0 are planned to be rolled into WordPress 5.2.

12

12 responses to “Gutenberg 5.0 Adds New RSS Block, Amazon Kindle Embed Block, and FocalPointPicker Component”

  1. The Focal point feature is very questionable – it promotes uploading uncropped and thus unoptimized images. Cover block still does not support responsive or adaptive images.

    You can even see the issue in gif that you posted in this post – end user will have to download very tall and heavy image just to see bottom 20%.

    Sure, it’s nice visually and it’s easy for site administrator to define focal point, but end user on low-end mobile network will suffer because of this.

  2. Gutenberg 5.0 are planned to be rolled into WordPress 5.2

    That fact makes me feel somewhat confused … and arises 2 questions:
    Which GB version will be included in shortly coming WP 5.1 then?
    And when is WP 5.2 palnned to be released?

  3. Ability to change the focal point is a long asked-for feature, great news that something happens in that direction! Would be nice to have that not just for cover images.

    However Ted Magwell is right, it might lead to serving unnecessarily huge image files. So it would be a good idea to implement some suggestions to rather crop the original image if only just 50% (or so) of that will be displayed at the end-user.

    Would be even better to actually initialize WP’s image editor screen with a suggested cropping frame that is about 20% larger than the picture that will get rendered for the end-user. That way there is no need to serve vastly larger images than needed, but there would still remain some cropping flexibility for later or for parallax purposes.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.