There are some enhanced plugins for the @draft-js-plugins/editor
.
$ npm install react react-dom draft-js @draft-js-plugins/editor --save
or
$ yarn add react react-dom draft-js @draft-js-plugins/editor
Then install the plugin which you are ready to use.
For example:
$ npm install @draft-js-enhance-plugins/inline-code --save
or
$ yarn add @draft-js-enhance-plugins/inline-code
View the example in the browser.
$ yarn workspace playground start
Plugin Name | Source |
---|---|
@draft-js-enhance-plugins/blockquote |
see source |
@draft-js-enhance-plugins/clear-format |
see source |
@draft-js-enhance-plugins/code |
see source |
@draft-js-enhance-plugins/inline-code |
see source |
@draft-js-enhance-plugins/markdown-convert |
see source |
@draft-js-enhance-plugins/paste-html |
see source |
@draft-js-enhance-plugins/soft-newline |
see source |
All plugins are MIT licensed.