Opened 7 years ago

Closed 7 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:


Steps to reproduce

  1. Copy Paste a hyperlink that contains mail to

<a href="mailto:me@…">eMail Us</a> in Edge

  1. 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)

16751.html (43 bytes) - added by Tade0 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Tade0

Attachment: 16751.html added

comment:1 Changed 7 years ago by Tade0

Status: newpending

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.

comment:2 Changed 7 years ago by Jakub Ś

Keywords: CantFix VendorFix added
Resolution: wontfix
Status: pendingclosed
Version: 4.6.1

I have rechecked this issue and it seems this is Edge Native problem.

To reproduce:

  1. 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>
  2. Open attached page in Edge browser and copy "eMail Us" using Ctrl+A/Ctrl+C to make sure whole link was copied.
  3. 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.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy