netlify-cms-widget-contentblocksexample
v0.0.3
Published
An example Netlify widget that implements a dynamic list of widgets
Downloads
3
Maintainers
Readme
netlify-cms-widget-<name>
Overview of what your widget does.
Install
As an npm package:
npm install --save netlify-cms-widget-contentblocksexample
import contentblocksexample from 'netlify-cms-widget-contentblocksexample'
CMS.registerWidget('contentblocksexample', ContentBlocksExampleControl, ContentBlocksExamplePreview)
Via script
tag:
<script src="https://unpkg.com/netlify-cms-widget-contentblocksexample@^1.0.0"></script>
<script>
CMS.registerWidget('contentblocksexample', contentblocksexampleControl, contentblocksexamplePreview)
</script>
How to use
Add to your Netlify CMS configuration:
fields:
- { name: <fieldname>, label: <fieldlabel>, widget: contentblocksexample }
Configuration
Explain any custom configuration steps here, or omit the section if there are none.
Support
For help with this widget, open an issue or ask the Netlify CMS community in Gitter.