netlify-cms-widget-ckeditor4
v0.0.2
Published
A boilerplate for creating Netlify CMS widgets.
Downloads
2
Maintainers
Readme
netlify-cms-widget-ckeditor
Adds a CKEditor WYSIWIG as Opposed to the MarkDown Editor.
Install
As an npm package:
npm install --save netlify-cms-widget-ckeditor
import ckeditor from 'netlify-cms-widget-ckeditor'
CMS.registerWidget('ckeditor', CkeditorControl, CkeditorPreview)
Via script
tag:
<script src="https://unpkg.com/netlify-cms-widget-ckeditor@^0.0.2"></script>
<script>
CMS.registerWidget('ckeditor', CkeditorControl, CkeditorPreview)
</script>
How to use
Add to your Netlify CMS configuration:
fields:
- { name: "<fieldname>", label: "<fieldlabel>", widget: "ckeditor" }
Support
For help with this widget, open an issue.