Add image width and height on image paste #15088
Labels
package:image
release:blocker
This issue blocks the upcoming release (is critical).
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
Provide a description of the task
Image width and height should be added when the copied image is pasted into the editor.
Some background:
An image should get
width
andheight
attributes when it is added to the editor or when the user modifies an image.We've already introduced these changes e.g.:
Setting image width and height on image upload
Setting image width and height on image change (resize, style, type...)
However, these changes did not cover pasting the image into the editor. So, for consistency, we should cover this case as well.
📃 Other details
The text was updated successfully, but these errors were encountered: