-
Notifications
You must be signed in to change notification settings - Fork 28
How to add custom blocks
Siyu Chen edited this page Apr 21, 2022
·
3 revisions
Create the blocks here - http://blocklyduino.github.io/BlocklyDuinoFactory/
Follow the wiki to make changes and build the compressed files.
replace the compressed files in here with the newly built compressed files.
If the custom blocks use an external library, you need to download the library in the Compile in the Dockerfile
Then to add it to the interface you have to add it in the admin panel. You can do that by adding it as another block model and naming it whatever name you assigned the block in blocks_compressed.js. Make sure to assign it to the relevant block category, in strapi that's just a dropdown menu when creating or editing blocks.