Skip to content

Commit

Permalink
Add wide align support to code block (#50710)
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor authored May 17, 2023
1 parent 5e1a0a8 commit 2922d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Display code snippets that respect your spacing and tabs. ([Source](https://gith

- **Name:** core/code
- **Category:** text
- **Supports:** anchor, color (background, gradients, text), spacing (margin, padding), typography (fontSize, lineHeight)
- **Supports:** align (wide), anchor, color (background, gradients, text), spacing (margin, padding), typography (fontSize, lineHeight)
- **Attributes:** content

## Column
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/code/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}
},
"supports": {
"align": [ "wide" ],
"anchor": true,
"typography": {
"fontSize": true,
Expand Down

1 comment on commit 2922d6b

@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 2922d6b.
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/5006495800
📝 Reported issues:

Please sign in to comment.