Hello again!
I was trying to add a custom block to the logic category in the toolbox in my
local copy of blockly.
I followed the blockly documentation and I started by adding the block tag to the xml of the toolbox in my index.html file:
Then I added the json configuration to the logic.js file in the blocks/ folder:
and then I added the code generator in the logic.js file in
generators/javascript/ directory:
When I tried running blockly in my browser (Firefox 52.0.2) this is what I see in the UI:
and so far no error has popped out in the developer console.
When I try dragging the block into the workspace and drop it i get an error:
And this is the workspace.js from the stack:
Am I missing something?
Thanks in advance