Block transforms: single Blocks shouldn't allow transforms to the same Block. Avoid block-specific behaviours #15996
Labels
[Block] Group
Affects the Group Block (and row, stack and grid variants)
[Feature] Block API
API that allows to express the block paradigm.
Currently, the block transform logic prevents a single group block from being transformed into another core group block.
https://github.com/WordPress/gutenberg/pull/14908/files/5dd34524c2a6bdd81b399d959ad71636ef0c3501#diff-a5c77b070da74373cd1d937dee3a77eaR150
In pursuit of avoiding block-specific behaviours here, we should see if this is this more about preventing a block from being transformed into itself. In which case we could make this condition apply to any block type and not specifically the group block?
Originally posted by @aduth in #14908
The text was updated successfully, but these errors were encountered: