Background
Once we have all of those pieces in place, we're in a position to start stitching it together into a decoupled layout builder UI.
Proposed resolution
Add a component that manages the following UX behaviours:
- Adding a section (layout plugin)
- Adding an inline block
- Editing an inline block
We hope to take inspiration from existing open-source components in this space, including @wordpress/components and builder.io.
Out of scope but for future consideration:
- Editing (Configuring) a section
- Moving a block
Comments
Comment #2
griffynh commentedComment #3
griffynh commentedComment #4
griffynh commentedComment #5
johnpitcairn commentedPossibly a requirement to provide a component? #3373330: Provide twig template for layout builder render element and widgets
Comment #6
larowlanhttps://project.pages.drupalcode.org/decoupled_lb/?path=/docs/components...
Note we also implemented moving a block and configuring a section