Skip to content

EmbedRegistry.getEmbedCreator method

EmbedRegistry › getEmbedCreator

Unofficial

Get the embed constructor for a specific file type.

Signature:

getEmbedCreator(file: TFile): EmbedCreator | null

Parameters:

Parameter Type Description
file TFile File to get the embed creator for.

Returns: EmbedCreator | nullThe embed creator, or null if none registered.