toolbox load ALL default blocks

63 views
Skip to first unread message

Edward

unread,
Mar 26, 2026, 10:54:32 AM (8 days ago) Mar 26
to Blockly
Hello,

I am experimenting with a blockly-electron application but i have issues making a toolbox for my workspace. I can make a toolbox with a custom list but only the categories appear, not the (default) blocks themselves. Is there maybe a function to automatically make a toolbox with ALL the included blocks and categories, and not just making your own custom list?

The documentation is also not always as clear. So is it not always obvious where what pieces of code or functions need to go. Or what files are necessary to do certain things. The examples are also somewhat complex. An example of just the bare minimum would be appreciated.

Thank you

Maribeth Moffatt

unread,
Mar 26, 2026, 11:37:56 AM (8 days ago) Mar 26
to Blockly
Hi Edward,

We don't provide a function to load every pre-made block because most applications don't actually need to use every block we provide. You should think carefully about what types of blocks are necessary for your users. For example, we have a "null" block that does nothing. That is unlikely to be useful for most applications and may confuse your users depending on their skill level. You probably don't want to give an "arctan" block to a third grader, either.

That being said, you can see the toolbox that we use in our samples, demos, and playground here. Feel free to copy it, though I'll say again it would be a mistake for most applications to use this toolbox as-is.

If you have any specific feedback on what documentation you're finding confusing, that would be helpful. It's not clear what pages you've read or may be referring to so as-is I'm not able to take any action on your feedback.

Thanks,
Maribeth

Adam Bryant

unread,
Mar 26, 2026, 1:05:37 PM (8 days ago) Mar 26
to blo...@googlegroups.com
If it’s anything like me then it’s because you haven’t closed the block listing correctly, check the web browser console for errors
Sent from my iPhone

On 26 Mar 2026, at 15:38, 'Maribeth Moffatt' via Blockly <blo...@googlegroups.com> wrote:

Hi Edward,
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/87ab0c26-b42e-48a3-8c7f-c4642e27a86en%40googlegroups.com.

Mark Friedman

unread,
Mar 26, 2026, 6:44:47 PM (8 days ago) Mar 26
to blo...@googlegroups.com
Edward,

  I don't know if this would help you, but a while back I posted a fairly minimal Blockly example, along with informarton on how it might be customized or extended and pointers to the Blockly documentation which explain those customizations and extensions.  You can read that post here

  Note that some of the doc links might no longer be correct, but I tested a few random ones and they seemed ok.

  Also note that while testing the file, I just realized I had left out a closing ">" in the very last line.

  I hope this helps!

-Mark


--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.

Adam Bryant

unread,
Mar 27, 2026, 4:12:33 AM (7 days ago) Mar 27
to blo...@googlegroups.com
What we need is a full list of available pre built blocks which isn’t listed anywhere 
Sent from my iPhone

On 26 Mar 2026, at 22:44, Mark Friedman <mark.f...@gmail.com> wrote:



Maribeth Moffatt

unread,
Mar 29, 2026, 8:41:19 PM (5 days ago) Mar 29
to Blockly
You can see the full list of blocks available in code in the toolbox definition I posted earlier. You can also see them in the hosted playground.

Best,
Maribeth

Edward

unread,
Mar 29, 2026, 8:41:52 PM (5 days ago) Mar 29
to Blockly
thank you @Maribeth Moffatt I am just curious to what blocks are already included and what they can do, there doesnt seem to be a list which explains all blocks, 

It is somewhat hard to say what could be better for the documentation, i think my coding skills arent that good, as i was making the post i found the blocklycodelabs.dev website which really helped me

Op donderdag 26 maart 2026 om 16:37:56 UTC+1 schreef Maribeth Moffatt:

Max Stephen Russell

unread,
Mar 29, 2026, 9:04:45 PM (5 days ago) Mar 29
to blo...@googlegroups.com
Here is the gold mine of block definitions: 

If you can’t make much sense of these files, then allow me to suggest you really need to spend time with the codelabs and modify one to make your own starter app. It can take a while for this stuff to sink in. I’ve done some pretty advanced things in my time, but when I met Blockly I had to work real hard to get my head around it and JavaScript.

I love Blockly. 😎

-Steve

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages