Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Add support for detecting wide-aligned support declared through theme.json #10

@skorasaurus

Description

@skorasaurus

Currently, blocks that have wide and full align attributes are conditionally loaded by detectingget_theme_support( 'align-wide');

Since WP 5.8; support for wide and full align blocks can be added through theme.json by declaring values for the contentsize and widesize ; removing the need for a theme to specifically issue add_theme_support( 'align-wide').

This needs additional condition/logic to detect wide-align block support in theme.json; PR forthcoming.

ref: WordPress/gutenberg#35330

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions