Skip to content
KeystoneJS LogoKeystoneJSv5

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 @keystonejs/fields-wysiwyg-tinymce or npm install @keystonejs/fields-wysiwyg-tinymce

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

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

Credit

The Editor implementation was inspired by the tinymce-react Official TinyMCE React component, Copyright 2017-present Ephox, Inc.

Have you found a mistake, something that is missing, or could be improved on this page? Please edit the Markdown file on GitHub and submit a PR with your changes.

Edit Page