Skip to content

Img tags with "width" defined is missing the attribute when imported #133

Open
@alfredvaa

Description

@alfredvaa

I have an image tag:

<img src="https://someimage" width="100" />

the tag is converted to html correctly as above with draft-js-export-html, but when converting to draft again with draft-js-import-html, it displays just like this:

<img src="https://someimage" />

Is the width attribute not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions