We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't change span color const canvas = await html2canvas(element,{ foreignObjectRendering: true, allowTaint: true, useCORS: true, removeContainer: false, onclone(doc) { doc .querySelectorAll<HTMLSpanElement>('.timeline-address') .forEach((el) => { el.style.color = 'red'; }); } })
const canvas = await html2canvas(element,{ foreignObjectRendering: true, allowTaint: true, useCORS: true, removeContainer: false, onclone(doc) { doc .querySelectorAll<HTMLSpanElement>('.timeline-address') .forEach((el) => { el.style.color = 'red'; }); } })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug reports:
Can't change span color
const canvas = await html2canvas(element,{ foreignObjectRendering: true, allowTaint: true, useCORS: true, removeContainer: false, onclone(doc) { doc .querySelectorAll<HTMLSpanElement>('.timeline-address') .forEach((el) => { el.style.color = 'red'; }); } })
The text was updated successfully, but these errors were encountered: