chinchang / web-maker

A blazing fast & offline frontend playground
https://webmaker.app
MIT License
2.56k stars 316 forks source link

p5 js codes are not being rendered in one layout but rendered in a different layout (in detach preview) #432

Open ghost1998 opened 4 years ago

ghost1998 commented 4 years ago

Meta info

The p5 js code which works perfectly in this codepen does not render anything in the below layout.

image

But when I open it using the option detach preview it works perfectly fine.

image


Also compare the console in both cases. In the first case the code is not even being called, thats why nothing is being printed to the console.

This is really surprising, I wasnt able to figure out why. Adding the libraries from the library drop down didnt work either. Am I missing something?