/draft-editor

It is a simple editor base on the draft-js

Primary LanguageJavaScript

Editor

Hey! This is a simple editor base on the draft-js.


Features

  • inline style: Bold, Italic, Underline, StrikeThrough
  • block style: H1~H6, blockquote, paragraph
  • custom style: image, video, audio, horizon line and insert

Export

It can export the HTML and style by the draft-js-export-html.

You can click Preview button to hava a look at page withe html and style.

API

TODO

**Note: ** some API will make sure depend on demand.

Installing

npm run webpack:build -p #for developing
npm run webpack:example -p # for example
npm run webpack -p # for editor

License

MIT.