diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/blocks/latest-posts/block.json --- a/wp/wp-includes/blocks/latest-posts/block.json Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/blocks/latest-posts/block.json Wed Sep 21 18:19:35 2022 +0200 @@ -1,20 +1,12 @@ { + "apiVersion": 2, "name": "core/latest-posts", + "title": "Latest Posts", "category": "widgets", + "description": "Display a list of your most recent posts.", + "keywords": [ "recent posts" ], + "textdomain": "default", "attributes": { - "align": { - "type": "string", - "enum": [ - "left", - "center", - "right", - "wide", - "full" - ] - }, - "className": { - "type": "string" - }, "categories": { "type": "array", "items": { @@ -70,11 +62,7 @@ }, "featuredImageAlign": { "type": "string", - "enum": [ - "left", - "center", - "right" - ] + "enum": [ "left", "center", "right" ] }, "featuredImageSizeSlug": { "type": "string", @@ -87,10 +75,16 @@ "featuredImageSizeHeight": { "type": "number", "default": null + }, + "addLinkToFeaturedImage": { + "type": "boolean", + "default": false } }, "supports": { "align": true, "html": false - } + }, + "editorStyle": "wp-block-latest-posts-editor", + "style": "wp-block-latest-posts" }