Closed
Description
Expected Behavior
The toXXX()
should manage to capture custom elements as well.
Possible Solution
Maybe the custom component is needed as a resource?
OR
tsayen/dom-to-image#370 =>
html-to-image/src/cloneNode.ts
Line 30 in e8ffd0b
Additional Context
I am trying to take a snapshot of an element that has a custom element defined by math-live
Input
Output
It seems the capturing took the innerHTML/value attribute of the custom element
Test Playground
https://codesandbox.io/s/blue-thunder-gog6j?file=/src/App.tsx