I am trying to build more complex components like page sections with multiple slots. A few improvements could make them even more useful.
- Making content in slots clickable like any other content element. Currently when clicking on the content within a slot, the component is selected. The only way to edit contents in slots are through the structure panel. This might be even a bug, I am not sure. Also adding drag and drop to and from slots to be able to rearange contents (like with any other content). Currently also only possible via structure panel.
- Make slot zones visible when adding a component (with the slot name given in the component structure). Maybe this can be a toggle similar to “keep offcanvas open for styling” so that there is a way to get the component look like the output without the slot zones visible. Alternatively, a default content element/component that is always added to the slot could be an option (the editor should be able to delete the default element though).
- Additionally, when clicking on a slot, on the left there would be an ideal space to add a list of preferred content elements/components defined by the author of the component. This could guide the editor quite nicely to quickly add relevant content. One step further would be to limit the types of elements/components and/or the amount if items the editor can add here.
Here is a quick video, showing the issues: