[wp-trac] [WordPress Trac] #35434: Copy-paste image with srcset makes replace-image features break

WordPress Trac noreply at wordpress.org
Fri Jan 22 13:42:45 UTC 2016


#35434: Copy-paste image with srcset makes replace-image features break
--------------------------+-----------------------------
 Reporter:  programmin    |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5
Component:  Editor        |     Version:  4.4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:  ui, javascript
--------------------------+-----------------------------
Changes (by joemcgill):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 Thanks @azaozz,

 Generally, I would lean toward scrubbing `srcset` and `sizes` from the
 editor any time the image is edited, but I don't see much harm in leaving
 them if someone is simply changing sizes. We may need to revisit this if
 we want to show responsive images in the editor.

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


More information about the wp-trac mailing list