Add an HTML block
add_blockPut a designed HTML block on a Flett board: a slide (one block per slide of a deck), a page, a chart, a mockup, a styled card or diagram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Where to put it, roughly: the top left corner | |
| y | No | ||
| html | Yes | A complete, self-contained HTML document, or with headFrom only its <body>. It may load Google Fonts and scripts from cdn.jsdelivr.net or cdnjs.cloudflare.com, and cannot fetch data at run time | |
| title | Yes | Short name shown above the block | |
| width | Yes | ||
| format | Yes | slide 1280x720, paper one A4 page 794x1123, page about 1280x800, doc about 816 wide, diagram or card any size | |
| height | Yes | A close guess: a page, doc, card or diagram takes its content's height once shown | |
| boardId | Yes | The board's id, from list_boards or create_board | |
| headFrom | No | The id of a block whose <head> this one uses, with its CSS and fonts: the deck's first slide, for every slide after it. html is then only this block's <body> |