-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigation Page Link - Searches posts instead of pages #29396
Comments
It sounds like a bug to me.... |
I'm just getting started working with blocks in a serious way - started using Hensen theme and had this same problem - only posts come up when you try to add new pages to the navigation. I'm used to the menus option in wordpress - that really threw me and I wasted a lot of time thinking I was doing something wrong. |
Running (Also, this may be somehow related to #29984) |
Looks like this one probably happened since site editor was created: Basically we have multiple implementations of Post-Editor: gutenberg/packages/editor/src/components/provider/use-block-editor-settings.js Lines 42 to 106 in f15a9f2
Site Editor: gutenberg/packages/edit-site/src/index.js Lines 21 to 45 in f15a9f2
Navigation Editor: gutenberg/packages/edit-navigation/src/utils/fetch-link-suggestions.js Lines 31 to 101 in f15a9f2
|
May be this is the cause of #29395 as well.
When using the navigation "Page Link" feature to search for pages, the results given seem to be for posts instead.
Here is the starting suggestion before any input (Suggests my post "hello world" instead of my page "sample page"):
When searching for my page, it finds no results even if published:
The text was updated successfully, but these errors were encountered: