Re: Unknown block type for custom blocks

331 views
Skip to first unread message

Beka Westberg

unread,
Sep 1, 2020, 10:01:21 AM9/1/20
to blo...@googlegroups.com
Hello,

Could you please provide stack traces for the errors you are seeing? That would really help with figuring out what's happening =)

I'm curious, how did you "import" that blocks you created into your project? Did you put the block definitions in your main html page, or are they stored in a separate file and acquired via <script> tags?

Once we have a bit more information I'm sure someone here can help you out!
--Beka

On Mon, Aug 31, 2020 at 3:29 PM Varsha Koushik <vasr...@colorado.edu> wrote:
As soon as I load the page, I get this error, Cannot read property 'childNodes' of undefined at Object.Blockly.Xml.domToWorkspace

On Monday, August 31, 2020 at 3:58:37 PM UTC-6, Varsha Koushik wrote:
Using the Blockly Developer Tools, I created custom categories and some custom blocks within them. When I try to create a workspace with those custom blocks, I keep getting an error saying UnCaught Type Error:  block type <name of custom block>. 

--
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 on the web visit https://groups.google.com/d/msgid/blockly/c5b86eb6-9718-43e0-af2b-feb5955737f4o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages