rc-editor
React Editor Component,based on draft-js
Browser Support
![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|
IE 10+ ✔ | Chrome 31.0+ ✔ | Firefox 31.0+ ✔ | Opera 30.0+ ✔ | Safari 7.0+ ✔ |
Screenshots

Development
npm install
npm start
Example
online example: http://lin-xiaoji.github.io/rc-editor/
install
npm install rc-editor
Usage
;
API
props
name | type | default | description |
---|---|---|---|
prefixCls | String | rc-editor | css class prefix |
lang | String | zh-CN | language,en zh-CN |
lang | String | zh-CN | language,en zh-CN |
width | String | 100% | editor width |
height | String | 280px | editor height |
defaultValue | String | defaultValue,support HTML | |
plugins | Array | [] | customize plugin |
toolbars | Array | [] | shwo toolbar items |
Test Case
npm test
License
rc-editor-core is released under the MIT license.