- Issue created by @mortona2k
- π«π·France pdureau Paris
I think they are normally printed in the block template, and the component just handles the menu links.
That's right. Contextual edit links for the component block works anyway? Is it enough?
- πΊπΈUnited States mortona2k Seattle
A component placed in block layout has contextual edit links for Configure and Remove, but not for editing the menu.
When placed in layout builder, there are no contextual links for it on the page.
- π«π·France pdureau Paris
A component placed in block layout has contextual edit links for Configure and Remove, but not for editing the menu.
Ok, I understand now. That could be a nice feature to add later: in a ComponentBlock, if the component has a
links
prop type which is set with aMenuSource
value, add a "Menu" contextual edit link to the menu config page.What will happen if the component has many
links
prop type? We take the first one with aMenuSource
value?I hope the implemnattion of this will not be too complicated for a small feature.
- πΊπΈUnited States mortona2k Seattle
If a component has multiple links props, I think having a contextual edit link for each menu makes sense.