Skip to content

Commit

Permalink
Post featured image: add example of the block (WordPress#63011)
Browse files Browse the repository at this point in the history
* add featured image block preview

* show the preview on Global Styles

* Update packages/block-library/src/post-featured-image/block.json

* removed forced size
  • Loading branch information
MaggieCabrera authored and carstingaxion committed Jul 18, 2024
1 parent fcfc0f3 commit f058334
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/post-featured-image/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
}
},
"usesContext": [ "postId", "postType", "queryId" ],
"example": {
"viewportWidth": 350
},
"supports": {
"align": [ "left", "right", "center", "wide", "full" ],
"color": {
Expand Down

0 comments on commit f058334

Please sign in to comment.