[wp-trac] [WordPress Trac] #50909: WordPress 5.5 update adds height and width attributes to images

WordPress Trac noreply at wordpress.org
Fri Oct 30 13:07:46 UTC 2020


#50909: WordPress 5.5 update adds height and width attributes to images
-------------------------------+------------------------------
 Reporter:  jeslen             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  5.5
 Severity:  normal             |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------

Comment (by magicroundabout):

 Might also need this for the media-text block which now has

 {{{
 .wp-block-media-text__media img,
 .wp-block-media-text__media video {
   max-width: unset;
   width: 100%;
   vertical-align: middle; }
 }}}

 And probably also needs:

 {{{
 height: auto;
 }}}

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


More information about the wp-trac mailing list