Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow filtering alignment option for core/image block #34316

Closed
oandregal opened this issue Aug 26, 2021 · 1 comment
Closed

Allow filtering alignment option for core/image block #34316

oandregal opened this issue Aug 26, 2021 · 1 comment
Labels
[Block] Image Affects the Image Block

Comments

@oandregal
Copy link
Member

core/image is the only core block that doesn't allow filtering the alignment controls it exposes to users.

This block is using the BlockAlignmentControl control directly instead of the the align hook that's enabled via block supports. Unlike the align hook, the core/image block doesn't pass the allowed controls to the BlockAlignmentComponent, hence, it'll show all of them.

It sounds like the alignment options of core/image should be filterable as any other block. Ideally, it should use the align hook as well.

@fabiankaegy
Copy link
Member

This is a duplicate of #19103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block
Projects
None yet
Development

No branches or pull requests

2 participants