dom-to-image icon indicating copy to clipboard operation
dom-to-image copied to clipboard

Fixed bug applying clasName to SVG DOM tags

Open Arturokin opened this issue 2 years ago • 0 comments

Setting className = throwed this error:

Cannot set property className of SVGElement which has only a getter.

Setting this line to node.setAttribute fixed the error

Arturokin avatar Jun 23 '22 15:06 Arturokin