Govspeak Editor example
With errors
How it looks (preview)
Generating preview, please wait.
How to call this example
<%= render "components/govspeak_editor", {
label: {
text: "Document content body",
bold: true
},
name: "default",
error_items: [
{
text: "there's nothing here",
href: "error1"
},
{
text: "no really, there's nothing here",
href: "error2"
}
]
} %>