Opened 7 years ago
Closed 4 years ago
#36840 closed defect (bug) (reported-upstream)
Link widget sort of recognizes email addresses
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.2 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
If I have the text
test@…
and select it,then click the link button, the field is filled in with
mailto:test@…
but if I highlight "mail me" and click the link, then enter test@…, it's converted to http://test@example.com
It seems to me that the link already knows how to recognize an email address, but that's not applied when the email address is typed in.
Change History (3)
#3
@
4 years ago
- Keywords needs-patch removed
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
Hi @stevesterndatacom,
First, my apologies that it took so long for this ticket to receive a response!
Since this ticket was opened, a lot has changed. Most notably, the introduction of the new block editor. The Classic Editor experience (which is what this ticket refers to) is no longer receiving enhancements, and high priority bug fixes only. Because there does not seem to be any other reports for this issue, I am going to close this ticket out.
I have documented this reported behavior on an issue in the Gutenberg repository. It appears that the block editor does not currently detect an email in the text when highlighting and clicking link, and this bug does exist when entering an email into the link field and not including mailto:
as a prefix.
I wonder if this is since
https://core.trac.wordpress.org/changeset/36747
@azaozz