Skip to main content

blocks_guide

Function blocks_guide 

Source
fn blocks_guide(
    schemas: &BlockSchemas,
    block_types: &[String],
) -> Result<Map<String, Value>, EditError>
Expand description

Each block type’s schema, nesting rules and an example add op, with the rich-text formats. Errors on an unknown block type, listing similar ones.