chinchang / chinchang/web-maker
p5 js codes are not being rendered in one layout but rendered in a different layout (in detach preview)
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 323
- PR merge metrics
- No merged PRs in 30d
Description
## Meta info
- Is this a bug or suggestion?: Bug
- Version (click on help icon in footer): 4.0.3
- Context - Web app, Chrome extension or both?: Web App
The p5 js code which works perfectly in [this codepen](https://codepen.io/p5js/pen/lsHEn) does not render anything in the below layout.

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

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?
Contributor guide
Assessment
This issue has not been assessed yet.