Register VTT element types (grid, template, movement record) in the given element registry.
If no registry is provided, the default global registry is used.
Also registers the VTT fog legacy state migrator so that persisted v1–v3
canvas state with a top-level fog field is migrated into extensions.fog.
Call this once at application startup before loading any persisted state
that may contain grid or template elements.
Register VTT element types (grid, template, movement record) in the given element registry. If no registry is provided, the default global registry is used.
Also registers the VTT fog legacy state migrator so that persisted v1–v3 canvas state with a top-level
fogfield is migrated intoextensions.fog.Call this once at application startup before loading any persisted state that may contain grid or template elements.