4.1.3 • Published 5 years ago

subschema-plugin-content v4.1.3

Weekly downloads
37
License
MIT
Repository
-
Last release
5 years ago

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