Add width
attribute to responsive images
#5120
Labels
package:image
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
After discussion here: https://github.com/ckeditor/ckeditor5-easy-image/issues/4. we decided that responsive images that have
srcset
attribute should havewidth
attribute applied.Current
srcset
attribute in model should be replaced byresponsive
attribute which will store information aboutsrcset
andwidth
of the image. This way we will be sure thatwidth
converted to view is connected with image responsiveness and not just image attribute parsed separately.The text was updated successfully, but these errors were encountered: