Allow and preserve image width and height attributes #14201
Labels
package:image
squad:core
Issue to be handled by the Core team.
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
After checking the PoC check in #14147, we decided that we want to go further with this approach.
Scope
width
andheight
attributes from HTML (done in the PoC).width
->resizedWidth
,widthAttribute
->width
(it was not a part of the PoC).srcset
attribute in the model. On master it is{ data: "...", width: "" }
but since now width has been delegated to ImageSizeAttributes
, I figured this object form is useless (done in the PoC).height: auto
to the styles to preserve the proper aspect ratio. (Is it a BC?)We need to test it against our current upload adapters if this doesn't break anything.
The text was updated successfully, but these errors were encountered: