The editor currently hosts a customised version of p5.js that enables that library to access the Shadow DOM on the WebComponent.
This is not a maintainable solution. Further work is needed to investigate if we can import p5 as a script, then redirect any calls it makes to the document object.
The editor currently hosts a customised version of p5.js that enables that library to access the Shadow DOM on the WebComponent.
This is not a maintainable solution. Further work is needed to investigate if we can import p5 as a script, then redirect any calls it makes to the
document
object.The issue is detailed in the editor docs