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

Suggestion for internal links #9932

Closed
StephCii opened this issue Sep 15, 2018 · 5 comments
Closed

Suggestion for internal links #9932

StephCii opened this issue Sep 15, 2018 · 5 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@StephCii
Copy link

I see that Gutenberg don't suggest internal links (other wordpress articles, pages...) when I create a new link. Classic editor did it.

Can you add this feature to Gutenberg ?

@arunsathiya
Copy link
Contributor

This is already available, as far as I know. You can highlight the text you want to link, use the Cmd+K shortcut or use the Link icon, and search box should appear.

You can enter your keywords on this box to search for related posts.

Screenshots indicating this behavior.

Searching with the keywords

screen shot 2018-09-15 at 19 30 35

After choosing a post

screen shot 2018-09-15 at 19 30 45

Hyperlink completed

screen shot 2018-09-15 at 19 30 52

Is this not working for you?

@designsimply designsimply added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Sep 17, 2018
@designsimply
Copy link
Member

You should already be able to search for posts as @arunsathiya mentioned. Support for also searching for pages was added in #7894 (3.4). Searching for CPTs (Custom Post Types) should work as long as the CPT has added support to include itself in API calls (ref).

I will close this issue for now because it has been tested and should be working. If you still need help, we can continue the discussion here and just let us know exactly the type of content you are trying to search for and please verify you are using the latest stable release of Gutenberg.

@StephCii
Copy link
Author

Sorry I Had no time to answer about this issue before. Suggestions for internal links works on classic blocks, but not in Gutenberg paragraphs. I enter keywords to find articles or pages, but it doesn't suggest anything. I updated to the last version of gutenberg (3.8.0), with the theme Twenty eleven.

@StephCii
Copy link
Author

It works now. I don't know why, but that's great. Sometimes I also have problems with the selection of categories, it is not available, I refresh the page and it comes back. I don't have explanations for these bugs.

@designsimply
Copy link
Member

For missing categories, it's possible that could be caused by a plug-in conflict. Would you mind listing your active plugins?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

3 participants