Skip to content

lin-xiaoji/rc-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc-editor


React Editor Component,based on draft-js

Browser Support

IE Chrome Firefox Opera Safari
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

import React from 'react'
import { render } from 'react-dom'
import RcEditor from 'rc-editor'
render(<RcEditor />
    ,container);

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages