Open ramonjd opened 3 years ago
Unless this is urgent, I think we should wait until #35870 is done, since that will make the transformation much easier.
@ramonjd Do you still feel this is a useful pattern? Seems like something that could be relatively simple to achieve but probably not a priority right now.
Do you still feel this is a useful pattern? Seems like something that could be relatively simple to achieve but probably not a priority right now.
I think so based on no more than a hunch 😄 I'll defer to folks more intimate with the navigation block. Agree that it's okay to be shelved until time permits. Thanks, Dave!
What does this feature request address?
We've noticed that, sometimes, block editor users create unordered lists comprising links to site pages.
In such cases, the navigation block might be a more appropriate way to structure the links.
What is your proposed solution?
Offer the option to transform list blocks that contain link + text items into navigation blocks.
We would have to take nested lists into account, and transform them into nested menu items as well I imagine.
An MVP might be to migrate the list into a
<nav />
container, or would we transform items into custom link blocks?How would we handle list items that contain, for example, images or other non-text blocks? I'd imagine we'd either skip them or simply allow transformation?
Based on this issue, it seems as though the navigation block is undergoing some changes. I'm not sure how that would influence any potential transformation.