Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site Editor/Navigation: Links to draft pages not showing up in site preview #29417

Open
alaczek opened this issue Mar 1, 2021 · 0 comments
Open

Comments

@alaczek
Copy link

@alaczek alaczek commented Mar 1, 2021

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:

  1. Open the site editor and start editing the site header.
  2. Add navigation block, and add a new link inside. (or add a new item to the existing navigation block).
  3. Start typing a page name and select the "Create draft page" option when it's offered.
  4. The new link will be added to the menu in the editor.
  5. 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)

nQPanjRcHw

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant