Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "showCode" URL parameter #241

Open
ojack opened this issue Apr 29, 2023 · 4 comments
Open

Fix "showCode" URL parameter #241

ojack opened this issue Apr 29, 2023 · 4 comments

Comments

@ojack
Copy link
Member

ojack commented Apr 29, 2023

adding "showCode=false" to the URL should open the sketch with no code visible

also:

  • Add this to documentation
@finfinxo
Copy link

Hey, I'm happy to try and implement this! Should the menu bar and console be hidden as well I assume?

@ojack
Copy link
Member Author

ojack commented May 26, 2023

That's great! yes they should :)

@ojack
Copy link
Member Author

ojack commented May 26, 2023

I think it would make most sense to add this in the gallery.js file

setSketchFromURL(callback) {

@finfinxo
Copy link

Hey, I've given this a go and it seems to work for me. :) #251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants