Skip to content

Commit

Permalink
border added to post content block
Browse files Browse the repository at this point in the history
  • Loading branch information
rinkalpagdar committed Oct 23, 2024
1 parent 2dbd0a6 commit c86ccb0
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions packages/block-library/src/post-content/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@
"category": "theme",
"description": "Displays the contents of a post or page.",
"textdomain": "default",
"usesContext": [ "postId", "postType", "queryId" ],
"usesContext": [
"postId",
"postType",
"queryId"
],
"example": {
"viewportWidth": 350
},
"supports": {
"align": [ "wide", "full" ],
"align": [
"wide",
"full"
],
"html": false,
"layout": true,
"background": {
Expand Down Expand Up @@ -52,8 +59,20 @@
"__experimentalDefaultControls": {
"fontSize": true
}
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true,
"__experimentalDefaultControls": {
"radius": true,
"color": true,
"width": true,
"style": true
}
}
},
"style": "wp-block-post-content",
"editorStyle": "wp-block-post-content-editor"
}
}

0 comments on commit c86ccb0

Please sign in to comment.