I am currently in the process of creating a Wordpress plugin that allows extra block types to be added for creating posts. I have successfully created a wordpress block type but it doesn't work when I add two.
The following code is in a JS file.
When I add two block types, Wordpress's backend editor doesn't even recognise the first block. Removing the second block makes the first block type register and work. To those who are experienced in Wordpress plugin creation, what error am I making?
MORE CODE HERE
seems important here. Can you include the actual code that’s causing the problem?