Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34678, comment 12


Ignore:
Timestamp:
11/22/2015 06:16:58 PM (11 years ago)
Author:
azaozz

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34678, comment 12

    initial v1  
    1111> I think we should decide if there are good use cases for inserting a custom `sizes` attribute in the image markup instead of using the filter, and if so, I suggest we don't make that harder by requiring a `srcset` as well.
    1212
    13 Don't think it is good to add hard-coded attribute that depends on a dynamically generated one. Also, this will not display properly in TinyMCE which can be pretty disorienting (the image "magically" changes size when viewing the post). Perhaps we can support such cases in the next stage if we implement adding srcset and sizes in TinyMCE.
     13Don't think it is good to add hard-coded attribute that depends on a dynamically generated one. Also, this will not display properly in TinyMCE which can be pretty disorienting for the users (the image "magically" changes size when viewing the post). Perhaps we can support such cases in the next stage if we implement adding srcset and sizes in TinyMCE.