See the 2022 Blockly Developer Summit site here.

Namespace: registry

Methods

register

static

register(name, serializer)

Registers the given serializer so that it can be used for serialization and deserialization.

Parameter

name

string

The name of the serializer to register.

serializer

Blockly.serialization.ISerializer

The serializer to register.

unregister

static

unregister(name)

Unregisters the serializer associated with the given name.

Parameter

name

string

The name of the serializer to unregister.