Open lo6041 opened 6 years ago
facing the same issue. Any further feedback ?
获取id 的时候去除$
using this code
domtoimage
.toPng(node, {
quality: 1.0,
})
.then(function (dataUrl) {
var img = new window.Image();
img.src = dataUrl;
document.getElementsByClassName('wrapper').appendChild(img);
})
.catch(function (error) {
console.error('oops, something went wrong!', error);
});
facing same error as above
Facing the same issue
Hello, Here is the same error displayed in google chrome devtools console :
It seems that is originating from this file :
My code, calling dom-to-image module :
Waiting for your analysis...
Best regards
It just happens to me as well. So we have an update?
Hello,
Anybody able to find any solution to this problem?
Uncaught (in promise) TypeError: node.cloneNode is not a function at makeNodeCopy (dom-to-image.js:191)
Use case: description, code
jsfiddle
Expected behavior
Actual behavior (stack traces, console logs etc)
Library version
Browsers