Creating Custom Widgets

The NetlifyCMS exposes a window.CMS a global object that you can use to register custom widgets, previews, and editor plugins. The same object is also the default export if you import Netlify CMS as an npm module. The available widget extension methods are: registerWidget: registers a custom widget. registerEditorComponent: adds a block component to the …