Skip to content

Generate blockly code when workspace is first displayed #35

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

Closed
wants to merge 1 commit into from

Conversation

carlosperate
Copy link
Contributor

It's a bit odd to have the old code hanging around when blockly is enabled, just to have it disappear as soon as anything is clicked in the toolbox/workspace.
So this PR will change the editor code as soon as blockly is displayed, which could be an empty string when first enabled, or the previous blockly workspace (as it is not disposed when the blocks are closed).

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

Successfully merging this pull request may close these issues.

1 participant