Skip to content

Add supports.typography.alignment argument so that blocks can use AlignmentControl automatically. #38427

Closed

Description

@jhned

What problem does this address?

It's difficult to add the AlignmentControl component to a block. To filter it in on a block that doesn't support it, it's not a simple matter of filtering the block settings, but rather of filtering the whole edit function. That seems heavy-handed.

What is your proposed solution?

Add an argument under the supports.typography object that accepts "alignment." If present, AlignmentControl is automatically added to the Block Toolbar.

Activity

  1. added
    [Feature] Design Tools
    Needs Technical Feedback
    on Feb 22, 2022
  2. added
    [Type] Enhancement
    on Aug 30, 2023
  3. added
    [Status] In Progress
    on Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs Technical Feedback[Feature] Design Tools[Status] In Progress[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions