Sandbox warning on Mac

Hi Everyone, I’m a teacher and I’m using p5.js to teach kids javascript at the school I work at. Unfortunately I keep getting this error on my Mac using safari which prevents p5.js from working.
“Error while parsing the ‘sandbox’ attribute: ‘allow-downloads’ is an invalid sandbox flag.”
Could any one help?

You are seeing this error because Safari doesn’t support the "allow-downloads" flag on the sandbox attribute of iframe elements. Presumably you are using https://editor.p5js.org/ or My Sketch - OpenProcessing which use iframes to run your sketch. However this should not prevent your sketches from running, although it may interfere with methods that initiate a download such as the save function. It is most likely that there is some other issue preventing your sketch from working properly and this error message is a red herring. Additionally, if you were to take sketches created in these editors and host them on your own site such that they were not loaded in iframes (using glitch.com for example) then you would not have this issue.

Thank you very much. I will try to figure it out. The problem started to happen after I updated my Mac. The online editor just throws up that error and then doesn’t work at all. I think I’ll have to download the p5.js library and not use the online editor.

That is odd. For me https://editor.p5js.org is working fine on Safari v14.0.3

Thank you so much for your help. I’m not sure why I’m having this issue on my mac, however, it’s not affecting my lessons, thank God. I’m still able to teach the students without any issues.