react-editor-js
The unofficial editor-js component for React.
? Supported Official Plugin
- [x] Paragraph (default)
- [x] Embed
- [x] Table
- [x] List
- [x] Warning
- [x] Code
- [x] Link
- [x] Image
- [x] Raw
- [x] Header
- [x] Quote
- [x] Marker
- [x] CheckList
- [x] Delimiter
- [x] InlineCode
- [x] SimpleImage
Getting Started
Install via npm (or yarn)
Usage
? API
Allow all options of editor-js
Name | Type | Description |
---|---|---|
enableReInitialize | Boolean | editor-js rerendering when componentDidUpdate |
? FAQ
How can I install plugins?
There is an only Paragraph block already included in Editor.js. Probably you want to use several Block Tools that should be installed and connected.
To add more Block Tools, simply add them to your repo and pass them as tools
-property to your editor:
npm install --save-dev @editorjs/checklist
We recommend to create a tools.js
file and export your tools as a constant. Here is an example using all of the default plugins:
You can read more about plugins/tools at editor-js: Tools installation
How do I use custom element?
It's simpleeeee
How to access editor-js instance?
You can access using instanceRef
Haven't received data from server (when use Link)
You should set linkTool config. ??