Open
Description
openedon Mar 2, 2020
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):
This isn't necessarily limited to layout though — theoretically, blocks could use this to allow users to choose any sort of default state for their block. A couple possible ideas:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Ready for, and needs developer effortsReady for, and needs developer effortsOverall functionality of blocksOverall functionality of blocksThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experienceA suggestion for improvement.A suggestion for improvement.