subschema-plugin-content

4.1.3 • Public • 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.

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.1.33latest
4.0.0-b-1.70beta
4.0.0-b-1.20b

Version History

VersionDownloads (Last 7 Days)Published
4.1.33
4.1.20
4.1.00
4.0.10
4.0.00
4.0.0-b-1.70
4.0.0-b-1.60
4.0.0-b-1.50
4.0.0-b-1.40
4.0.0-b-1.30
4.0.0-b-1.20
4.0.0-b-1.10
4.0.0-b-1.00

Package Sidebar

Install

npm i subschema-plugin-content

Weekly Downloads

3

Version

4.1.3

License

MIT

Unpacked Size

28.5 kB

Total Files

6

Last publish

Collaborators

  • nanandn
  • speajus