List block: allow transformation of text links lists into navigation blocks #31733
Labels
[Block] List
Affects the List Block
[Block] Navigation
Affects the Navigation Block
[Feature] Block Transforms
Block transforms from one block to another
[Type] Enhancement
A suggestion for improvement.
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.
The text was updated successfully, but these errors were encountered: