Skip to content

toPng throws error when node is a <g/> tag #205

Open
@1ilit

Description

@1ilit

When the selected node to generate the image for is a <g/> tag the function fails with the error below:

Image

See here: https://stackblitz.com/edit/vitejs-vite-w1wbjqmw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions