Skip to content
New issue

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

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

Already on GitHub? # to your account

Use extensions to share color and shape between some blocks #938

Conversation

rachel-fenichel
Copy link
Collaborator

This is an example of how to use Blockly's extensions framework to share common block attributes. In this case I'm using it for colors for a few categories, as well as for statement blocks.

I'm sure I didn't do the greatest job on naming. I'm happy to change the extension names (and even the extension file + namespace) to the scratchier names.

@paulkaplan
Copy link
Contributor

WOOT 🥇

@rachel-fenichel rachel-fenichel merged commit c7afcda into scratchfoundation:develop Jun 13, 2017
@rachel-fenichel rachel-fenichel deleted the feature/block_color_by_extension branch June 13, 2017 21:54
marisaleung pushed a commit to marisaleung/scratch-blocks that referenced this pull request Jun 19, 2017
marisaleung pushed a commit to marisaleung/scratch-blocks that referenced this pull request Jun 19, 2017
paulkaplan pushed a commit that referenced this pull request Jun 30, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants