ElementorexCms.Blocks.Html (ElementorexCms v0.1.0)

Copy Markdown View Source

Hand-written HTML, sanitized with the :html policy of ElementorexCms.HTML.Sanitizer (no scripts, iframes, forms or event handlers). Tailwind and daisyUI classes work if your CSS build includes them.

Summary

Functions

Palette and editor metadata of the block.

Props of the block, in declaration order.

Callback implementation for ElementorexCms.Block.render/1.

Type stored in documents for this block.

Functions

default_children()

Callback implementation for ElementorexCms.Block.default_children/0.

meta()

Palette and editor metadata of the block.

props()

Props of the block, in declaration order.

render(assigns)

Callback implementation for ElementorexCms.Block.render/1.

type()

Type stored in documents for this block.