An react component based on the wangEditor
- Install the current component package
yarn add @wangeditor/editor-for-react
# or npm install @wangeditor/editor-for-react --save
- Install the
wangeditor
core package
yarn add @wangeditor/editor
# or npm install @wangeditor/editor --save
- Import component
import { Editor, Toolbar } from '@wangeditor/editor-for-react'
For details, please refer to wangEditor react usage document