Skip to content

@sqlrooms/deck / createDeckMapBlockDocumentType

Function: createDeckMapBlockDocumentType()

createDeckMapBlockDocumentType<TState>(options): BlockDocumentStatefulBlockType

Builds the shared TipTap/UI registration metadata for a Deck map stateful block. Hosts still own renderer maps, delete handlers, and product labels.

Type Parameters

Type Parameter
TState extends DeckMapsSliceState & DuckDbSliceState

Parameters

ParameterType
optionsDeckMapBlockDocumentRegistrationOptions<TState> & object

Returns

BlockDocumentStatefulBlockType