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

Disable Minify JavaScript under Beta testing phase ? #2247

Closed
StaggerLeee opened this issue Aug 6, 2017 · 3 comments
Closed

Disable Minify JavaScript under Beta testing phase ? #2247

StaggerLeee opened this issue Aug 6, 2017 · 3 comments

Comments

@StaggerLeee
Copy link

StaggerLeee commented Aug 6, 2017

Can you do it until Gutenberg go stable version ?

For Us who would like to study JS code, reuse, edit code, and try to make own block(s).
Did my own by your docs, piece of cake. But it is simple text block. Anything more than that I need to see how you did it. Examples on Google are non existent.

@mtias
Copy link
Member

mtias commented Aug 6, 2017

You can change this by setting script debug on your end: https://codex.wordpress.org/Debugging_in_WordPress#SCRIPT_DEBUG

Inspecting the source won't be the easiest to learn how to create blocks. We have some more examples here oriented to plugin/theme authors: http://gutenberg-devdoc.surge.sh/blocks/writing-your-first-block-type/

@StaggerLeee
Copy link
Author

Thank you. I meant something to open in code/text editor.
Will close issue anyway.

@nylen
Copy link
Member

nylen commented Aug 7, 2017

FWIW SCRIPT_DEBUG doesn't quite work yet because we only ship the minified version of our code with the Gutenberg plugin. However I'll leave this issue closed because it's a duplicate of #1026.

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

3 participants