0.1.1 • Published 3 years ago

@keystonejs-contrib/fields-editorjs v0.1.1

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

EditorJS

This field inserts a string path into your schema based on the Text field type implementation, and renders a Block based editor in the Admin UI powered by EditorJS

Usage

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

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

const { EditorJs } = require('@keystonejs/fields-editorjs');

Config

editorConfig

Default: {}

TODO

  • tools configuration needs to be passed on to editorjs instance.
  • image upload backend and adapter