Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Blocks: Fix unsetting block alignment flagging block as invalid #4333
This pull request seeks to resolve an issue where unsetting a block's alignment by clicking the currently selected value would cause the block to save as invalid.
A block with a defined attribute type will coerce its value to that type, except in the case that the value is
Verify that upon toggling a block's alignment on and off, saving the post, and reloading the editor, the block appears as valid: