RaspberryPiFoundation / editor-ui

Code Editor web component
https://editor-static.raspberrypi.org
Apache License 2.0
37 stars 8 forks source link

p5 support in Editor #947

Open sra405 opened 4 months ago

sra405 commented 4 months ago

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