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

WordPress Trac noreply at wordpress.org
Wed Feb 25 08:42:32 UTC 2015


#28272: Image loses link after drag and drop
-------------------------------------------------+-------------------------
 Reporter:  iseulde                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  4.2
Component:  TinyMCE                              |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:  javascript
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by iseulde):

 Yes, selecting the link works fine. But I'd like to know why and what's
 different from that div.
 I also think we shouldn't try to select links above the parent. If we do
 that we'd have to check higher up to with a loop and check for inline
 elements, but I think it's too rare. Instead maybe we should make sure the
 link isn't wrapped in garbage.

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


More information about the wp-trac mailing list