Documentation

Edit on GitHub
Documentation > Fields > Html

HTML

Render custom HTML markup.

Setup methods

set_html($html)

Set the HTML markup you would like to show to $html.

Field::make("html", "crb_information_text")
    ->set_html('<h2>Lorem ipsum</h2><p>Quisque mattis ligula.</p>')
Edit on GitHub

Excited about Carbon Fields? Spread the word!