Skip to content

Bug: Adding SVG without explicit dimensions fails #7511

@ivailop7

Description

@ivailop7

Adding an SVG, that doesn't have explicitly set 'height' and 'width' in the svg tag when inserted populates width and height as inherit and does not render the image inside the editor, even though it's present correctly in the editor state.

Some work was done by @kirandash in #7388 but the fallback for the dimensions do not appear to be working.

Screen.Recording.2025-05-06.at.12.40.26.mov

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