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.
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.