-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make the link anchor also retrieve the title of the post/page #11930
Comments
Tested and confirmed using WordPress 4.9.8 and Gutenberg 4.4
Result: I expected the link text to automatically get populated with the title of the post I selected but instead the URL is used for the link text. (43s) URL is used for link text when an existing post or page is linked to in Gutenberg: Title becomes link text when an existing post or page is linked to in the classic editor: |
@designsimply hi, i test it in Gutenberg 4.5.1, and WordPress 4.9.8, but there is no issue its display title of post not link like this video . |
There's some preview to fix it? |
This is still an issue. It is making more work to add internal links to pages. |
The linker in current WP gets the title of the searched and selected post/page automatically rather than making the user get it manually himself.
We have recently shifted to Gutenburg and have been crying tears of blood due to this. There are many other quibbles but I guess I can deal with them. We usually release about 15 posts every week.
Now we have to source the post link from the post/page itself or its excerpt to preserve its title. Otherwise, it is such a hassle to form the title from its URL.
Imagine the scenario that you have just released 6 or so posts and updating the table of contents and other sources within the site. Now one will have to open a new tab with the site and copy+paste post title links because the link block doesn't do this.
Solution
Perhaps when no text is selected, the link should instead add the title as the label.
The text was updated successfully, but these errors were encountered: