Experimental Feature: Add more "widths" to blocks

Created on 30 June 2025, about 1 month ago

Problem/Motivation

When using the module_name.gutenberg.yml file, There's an option to define the width layout of the block.

```yaml
# layout must be defined when using align wide setting on version 3.0 or above.
layout:
  contentSize: 670px
  wideSize: 1200px
  ultraWideSize: 1440px
```

The width values are not being applied to the block. And new ones are not listed in the block editor.

Related to: https://www.drupal.org/project/gutenberg/issues/3521709 🐛 Can't do full width alignment - alignWide is ignored Active

Steps to reproduce

1. Install the gutenberg module.
2. Create a module_name.gutenberg.yml file in your theme base folder.
3. Enable the experimental features on the module_name.gutenberg.yml file.
4. Define the layout values on the module_name.gutenberg.yml file.
5. Clear caches.
6. Create a block, and try to use the alignment settings.
7. The alignment settings are not listed nor working properly.

Proposed resolution

When a new layout is defined on the module_name.gutenberg.yml file, the layout options should be visible on the block.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

3.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024