From 2922d6b3e109febc6c5e8fb54ba5d7d4fafdcec0 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Wed, 17 May 2023 14:08:05 -0400 Subject: [PATCH] Add wide align support to code block (#50710) --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/code/block.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 04710602d28f0..6f7314d5e5188 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -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 diff --git a/packages/block-library/src/code/block.json b/packages/block-library/src/code/block.json index 6927800229569..660a2faafaf92 100644 --- a/packages/block-library/src/code/block.json +++ b/packages/block-library/src/code/block.json @@ -14,6 +14,7 @@ } }, "supports": { + "align": [ "wide" ], "anchor": true, "typography": { "fontSize": true,