subschema-plugin-content
v4.1.3
Published
Content A Content component. Will render safely as possible innerHTML. It will also subscribe to values that are put in the {name}. You can nest content and types.
Downloads
20
Readme
Content A Content component. Will render safely as possible innerHTML. It will also subscribe to values that are put in the {name}. You can nest content and types.
Super simple example.
{
"content":"Stuff {substitute_this_value}"
}
A more sophisticated example using arrays and custom content.
{
"content":["Stuff {substitute_this_value}", {
"type":"h3",
"className":"some_class",
"content":"Hello {..another_value_from_parent}"
}]
}
See the example