HTML Embed
Embed external HTML code or widgets. Always rendered inside an isolated iframe (srcdoc) and auto-resized to content height. Viewport units (vh/svh/dvh/lvh/vw) inside the embed are automatically rewritten to absolute pixels based on the parent page viewport so '100svh' fills the device viewport instead of the iframe viewport.
Type: "htmlEmbed"
Embed external HTML code or widgets. Always rendered inside an isolated iframe (srcdoc) and auto-resized to content height. Viewport units (vh/svh/dvh/lvh/vw) inside the embed are automatically rewritten to absolute pixels based on the parent page viewport so '100svh' fills the device viewport instead of the iframe viewport.
Props
| Field | Type | Default | Keterangan |
|---|---|---|---|
html | string | — | KODE HTML |
Contoh
{
"id": "htm01abc",
"type": "htmlEmbed",
"props": {
"html": ""
}
}