1.1.1 • Published 4 months ago

netlify-richtext-editor-widget v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

netlify-richtext-editor-widget

Please note: If you want to use your rich text editor to fill a markdown file contents after its frontmatter, you'll have to name the field body so the CMS recognizes it and saves the file accordingly.

Install

As an npm package:

npm install --save netlify-richtext-editor-widget
import richText from 'netlify-richtext-editor-widget'

CMS.registerWidget('richtext', RichTextControl, RichTextPreview)

How to use

Add to your Netlify CMS configuration:

fields:
  - { name: 'body', label: 'Blog post content', widget: 'richtext' }

Notice

This package is still in beta. Be careful when using it in production.