Block API: Extract common logic as an initial screen for blocks that define variations #20582
Labels
[Feature] Blocks
Overall functionality of blocks
[Feature] Extensibility
The ability to extend blocks or the editing experience
Needs Dev
Ready for, and needs developer efforts
[Type] Enhancement
A suggestion for improvement.
Description
Follow-up for #16283.
In #18283, the Columns was refactored to use block variations API integrated into block variations picker.
We should take it to the next level and extract common logic as an initial screen for blocks that define variations so it's automated. The biggest challenge is how to detect whether a variation was already applied to the block. The issues pop up when you load again the content saved in the database.
Some ideas to explore were shared by @kjellr in #16283 (comment):
The text was updated successfully, but these errors were encountered: