Function: InsertSandpack

InsertSandpack(): Element

A dropdown button that allows the user to insert a live code block into the editor. The dropdown offers a list of presets that are defined in the sandpack plugin config. For this to work, you need to have the sandpackPlugin installed.

Returns

Element