@keystonejs-contrib/fields-editorjs

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @keystonejs-contrib/fields-editorjs

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

9.58 kB

Total Files

12

Last publish

Collaborators

  • gautamsi