5.3.2 • Published 4 years ago

@koikorn/fields-wysiwyg-tinymce v5.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Wysiwyg

This field inserts a string path into your schema based on the Text field type implementation, and renders a WYSIWYG editor in the Admin UI using TinyMCE

Usage

This package isn't included with the keystone fields package and needs to be installed with yarn add @koikorn/fields-wysiwyg-tinymce or npm install @koikorn/fields-wysiwyg-tinymce

Then import it, and use it like any other field:

const { Wysiwyg } = require('@koikorn/fields-wysiwyg-tinymce');

Config

editorConfig

Default: {}

Accepts any TinyMCE config options. These will be passed to tinymce.init and can be used to override Keystone.js' default editor appearance and functionality.