Skip to content

Copy & pasting an image sometimes results in bad image height #73

@philipn

Description

@philipn

"Looks like when I copy and paste images using the page editor, it automatically adds the "height: auto!important;" attribute."

Not sure what browser, but we don't whitelist 'height: auto' so this results in a non-rendering image.

Possible fixes:

  1. Fix the whitelist to accept height: auto style on image tags.
  2. Fix the copy & paste buffer to capture the correct image height rather than sub "height: auto!important"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions