NEW 49592
ContentEditable image drap&drop looses wrapping anchor
https://bugs.webkit.org/show_bug.cgi?id=49592
Summary ContentEditable image drap&drop looses wrapping anchor
Tobiasz Cudnik
Reported 2010-11-16 05:58:09 PST
In contentEditable mode (design mode) after an image drap&drop operation, anchor wrapping such image is lost. Reproduced in Chromium 7.0.517.44 (0), using attached TC page. Steps: 1. Open TC page. 2. Drag the image using the mouse to a different position that it was at the beggining. 3. Use the inspector to see that a wrapping A element is now gone.
Attachments
TC page for reproduction (162 bytes, text/html)
2010-11-16 05:59 PST, Tobiasz Cudnik
no flags
Tobiasz Cudnik
Comment 1 2010-11-16 05:59:08 PST
Created attachment 73987 [details] TC page for reproduction
Tobiasz Cudnik
Comment 2 2010-11-16 06:01:02 PST
This is a follow up of the ticket on a CKEditor's issue tracker. http://dev.ckeditor.com/ticket/6679
Daniel Bates
Comment 3 2011-10-02 20:01:50 PDT
Confirmed that this issue also appears Mac nightly r96478. Mac Firefox 7.0.1 and 6.0.2 preserve the anchor tag when dragging the image.
Ahmad Saleem
Comment 4 2022-12-17 17:28:13 PST
I am able to reproduce this issue in Safari 16.2 and Safari Technology Preview 160 using instruction from Comment 0 and it does remove <a> wrapper from <image>. It is also an issue with Chrome Canary 111 and only Firefox Nightly 110 keeps the wrapper around <img> tag. Just wanted to share latest testing result. Thanks!
Note You need to log in before you can comment on or make changes to this bug.