Skip to content

@writeon/advanced/embed ​

Custom blocks ("embeds"): a block the editor shows as a placeholder and your front end replaces with its own component, such as a list of pickup branches. Documents store { type: 'embed', attrs: { kind, props } }; the kinds and their props are configured, so the server (validate()) drops anything else. Small and eager: add embed() to the editor from the start.

Interfaces ​

Type Aliases ​

Variables ​

Functions ​