BlocklyDuino-v2
BlocklyDuino-v2 copied to clipboard
Add define block
would have to make a block just like for variables but should have properties of definition block.
Try define block on this https://sam-tj.github.io/Turtle-Studio-v1/
If works well will add this here too.
Seems to be good, but there's a problem when you comment the block, the comment in code appears in loop.
this
yes...helas
yeah,that will be a problem. The data for that is populating from contextual menu and by default that comment goes to loop section.
any idea about disabling Add comment option for some blocks?
I prefer understanding how comments work and hack this, I think this could be a good question on the Blockly's forum :-D
yes that would be great. Till then I have disabled the context menu for this define block. Using: this.contextMenu=false;