-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Block] Navigation LinkAffects the Navigation Link BlockAffects the Navigation Link Block[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
When I add a page link to the navigation block and select the option to create a draft page, the new nav menu item shows up in the editor but is not visible in the preview. I think this might be related to #29395 and #29397.
Steps to reproduce:
- Open the site editor and start editing the site header.
- Add navigation block, and add a new link inside. (or add a new item to the existing navigation block).
- Start typing a page name and select the "Create draft page" option when it's offered.
- The new link will be added to the menu in the editor.
- Save and preview. The new link is not visible on the front end.
Expected behaviour
I expected the link to the draft page to show up in preview.
Screenshots or screen recording (optional)
WordPress information
- WordPress version: 5.6.2
- Gutenberg version: 10.0.2
- Are all plugins except Gutenberg deactivated? YES
- Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks
Device information
- Device: Desktop
- Operating system: macOS 10.15.7
- Browser: Chrome 88.0
Metadata
Metadata
Assignees
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Block] Navigation LinkAffects the Navigation Link BlockAffects the Navigation Link Block[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
