Skip to content

Commit

Permalink
Embed Block: Add margin block supports (#39384)
Browse files Browse the repository at this point in the history
  • Loading branch information
HILAYTRIVEDI committed Apr 10, 2023
1 parent acfff0e commit 5981e7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Add a block that displays content pulled from other sites, like Twitter or YouTu

- **Name:** core/embed
- **Category:** embed
- **Supports:** align
- **Supports:** align, spacing (margin)
- **Attributes:** allowResponsive, caption, previewable, providerNameSlug, responsive, type, url

## File
Expand Down
5 changes: 4 additions & 1 deletion packages/block-library/src/embed/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
}
},
"supports": {
"align": true
"align": true,
"spacing": {
"margin": true
}
},
"editorStyle": "wp-block-embed-editor",
"style": "wp-block-embed"
Expand Down

1 comment on commit 5981e7e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 5981e7e.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4662337142
📝 Reported issues:

Please sign in to comment.