Skip to content

Hardcode block type into block class

Currently, the user chooses a name for a block when registering it with ConstructionContext. There isn't really any value in this, so we should just set the name in the block class. Not sure whether to do it in blockData() or with a separate method.