-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
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 annotate https://community.canvaslms.com/ (issue with tsParticles) #6210
Comments
I filed an upstream issue to see if the tsParticles library can avoid overwriting the DOM |
The issue in tsParticles was fixed upstream in the v3.2.2 release, so this means we just need to deal with sites that still reference older versions. https://community.canvaslms.com for example is loading https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.confetti.bundle.min.js at the time of writing. |
Steps to reproduce:
Expected: Annotate/Highlight toolbar appears
Actual: Toolbar does not appear. Browser console shows an error:
On this page the
Range
global has been overwritten with a different object which doesn't have the expected API. The problem is caused by the script https://cdn.jsdelivr.net/npm/[email protected]/tsparticles.confetti.bundle.min.js. Using Chrome devtools to block this script when the page loads prevents the problem from occurring. The issue also occurs on the home page of the tsParticles library - https://particles.js.org.The text was updated successfully, but these errors were encountered: