[wp-trac] [WordPress Trac] #28272: Image loses link after drag and drop

WordPress Trac noreply at wordpress.org
Fri Jan 23 00:03:43 UTC 2015

#28272: Image loses link after drag and drop
 Reporter:  iseulde       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  TinyMCE       |     Version:
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  javascript

Comment (by afercia):

 Replying to [comment:23 magdigit]:
 > But in WP 4.1 the attachment of links to images when moved, works now
 correct! How is that possible?
 It depends if you performed a correct selection or not. If in the TinyMCE
 status bar you see something like:
 p » a » img
 then you've actually selected the image, not the link: drag and you will
 drag just the image, the link will stay in its original place.
 So, just click on the "a" in the path `p » a » img` and it will change in
 `p » a`
 Now you've selected the link '''and''' the image. Dragging now will drag
 both. That's what I was trying to explain in my previous comment. Agreed
 that's a workaround but as @valendesigns explained, the real issue should
 be fixed upstream.

Ticket URL: <https://core.trac.wordpress.org/ticket/28272#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list