-
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
Insert Link: linkify overlay doesn't disappear after link is created #10244
Comments
Thank you for testing at this stage and for filing issues! I am labeling this with |
Cool. Since the bugs were all related to linkifying text, I hooked them together in this single report. In the future, I will separate them as requested, but it could lead to duplicate bugs if the underlying components that serve the feature are the same. |
It can be a tricky balance sometimes for sure! I try to think of it as whether or not the work can be logically separated into smaller chunks that are easier for developers to work with. Never hurts to ask if you're not sure too. |
Ran into same issue. |
There's another report in the WordPress.com public support forums of difficulty with using the link creator in Gutenberg. The user has included a screen shot in their post: https://en.forums.wordpress.com/topic/serious-bug-in-the-new-editor-concerning-the-link-tool/#post-3214967 |
@designsimply there have been some updates to link handling -- can you please check all of these for repro? Thank you! |
Adding the screenshot from https://en.forums.wordpress.com/topic/serious-bug-in-the-new-editor-concerning-the-link-tool/#post-3213221 dated November 15, 2018 11:40 pm for reference: And noting that the problem where the link modal is not working properly in the classic editor is being traced at #7932. 👍 |
I tested adding links to a paragraph block using the following steps with WordPress 4.9.8 and Gutenberg 4.5.1 using Firefox 63.0.3 on macOS 10.13.6 and with Firefox 61 on macOS High Sierra (via browserstack.com).
Result: links were added correctly while pasting a URL onto highlighted text.
@commorancy several updates have been made since your original report and I think the issue you reported about the paragraph block (separate from the classic block) is working properly now. If you're still having trouble with links in paragraphs, please add a new reply and please let me know if your testing steps are any different compared to what I've noted above! |
Describe the bug
The first two bugs apply to the Classic block type:
A small linkify overlay is created on top of the screen when you click the link button. If you use the gear on the overlay to change the link settings in a bigger overlay, when you're done with creating the link on text, the small overlay doesn't disappear. It hangs around blocking the screen forever or until you linkify something else. If you use the small field and click the blue arrow, it does go away.
I've had troubles with linkifying. The first time a try to linkify a word, it doesn't work after I supply a URL and name and click 'Add Link'. The overlay disappears and the text does not show a link. If I do this a second time, it does link.
The third bug applies to Paragraph block type.
3. Links in the paragraph type block don't work at all. When clicking the link icon, a new style overlay appears, but pasting in a link doesn't work at all. When moving the mouse between various block contexts, the linkify option loses track of the highlighted text and fails.
To Reproduce
Steps to reproduce the behavior:
One of two things will happen. It either won't link at all and/or the small overlay will remain visible forever or until you attempt to link again and cancel.
Expected behavior
The link symbol should behave like the previous editor. Click it, supply a URL, click blue arrow, done. Text is linked and overlay disappears. If I go into the gear settings, the small overlay should also disappear when done.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: