使用步驟
- 在工程目錄下命令行中,執(zhí)行npm install安裝并保存依賴(lài)包
npm install react-quill@v1.0.0-rc.2
- 在index.html中引入樣式文件
<link rel="stylesheet" type="text/css" href="/css/quill.core.css"> <link rel="stylesheet" type="text/css" href="/css/quill.snow.css">
- 在需要使用的地方引入組件可使用
import ReactQuill from 'react-quill';

工具欄詳細(xì)配置參考