Navigation Block: Editing the label of block causes Add Link prompt to appear incorrectly #30163
Labels
[Block] Navigation
Affects the Navigation Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
If you add a Link Block to the navigation block, add a link, and then try to edit the label/text the "Add link" prompt shows up despite a link already being added. This makes it seem as though by deleting the label, you have also removed the link. cc @jasmussen since you're working on this!
Step-by-step reproduction instructions
Expected behaviour
I expect the "Add link" prompt to say "Add text" or "Add label" since a link is already in place.
Actual behaviour
The "Add link" prompt shows up.
Screenshots or screen recording (optional)
navigation.block.mov
WordPress information
Device information
The text was updated successfully, but these errors were encountered: