Opened 8 years ago
Closed 8 years ago
#16751 closed Bug (wontfix)
Edge Paste issue: Pasting a hyperlink with Mailto href removes the "href" attribute in Microsoft Edge
Reported by: | zoarif | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | CantFix VendorFix | Cc: |
Description
Steps to reproduce
- Copy Paste a hyperlink that contains mail to
<a href="mailto:me@…">eMail Us</a> in Edge
- CK editor removes href and you are left with:
<a> eMail Us</a>
Expected result
You should be able to keep the href attribute.
Actual result
Href gets removed and only left with <a> tag
Other details (browser, OS, CKEditor version, installed plugins)
Microsoft Edge 38.14393.0.0 EdgeHTML 14.14393
Attachments (1)
Change History (3)
Changed 8 years ago by
Attachment: | 16751.html added |
---|
comment:1 Changed 8 years ago by
Status: | new → pending |
---|
comment:2 Changed 8 years ago by
Keywords: | CantFix VendorFix added |
---|---|
Resolution: | → wontfix |
Status: | pending → closed |
Version: | 4.6.1 |
I have rechecked this issue and it seems this is Edge Native problem.
To reproduce:
- Prepage empty HTML5 page which contains native contenteditable element and open it in a browser.
<div style="margin:20px; border:1px solid black; width:500px; height:200px;" contenteditable="true"></div>
- Open attached page in Edge browser and copy "eMail Us" using Ctrl+A/Ctrl+C to make sure whole link was copied.
- Paste your link to page with native editable element and inspect pasted HTML with developer tools.
Result: <a>eMail Us</a>
. This is what Edge sees. It seems Edge itself removes the href attribute. There is nothing CKEditor can do in such case as it gets data processed by the browser.
I failed to reproduce this bug(using the file attached).
Does it still remove the
href
attribute if you change its value to something else(e.g.http://google.com
)?