React-Quill富文本插件的使用
作者:
默默先生Alec | 来源:发表于
2017-06-13 17:32 被阅读3765次
React-Quill 源码
使用步骤
- 在工程目录下命令行中,执行npm install安装并保存依赖包
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';


工具栏详细配置参考
本文标题:React-Quill富文本插件的使用
本文链接:https://www.haomeiwen.com/subject/gcxjqxtx.html
网友评论