/editor-core

a draft-js based editor

Primary LanguageTypeScriptOtherNOASSERTION

rc-editor-core


React EditorCore Component

NPM version build status Test coverage gemnasium deps node version npm download Sauce Test Status

Sauce Test Status

Browser Support

IE Chrome Firefox Opera Safari
IE 8+ ✔ Chrome 31.0+ ✔ Firefox 31.0+ ✔ Opera 30.0+ ✔ Safari 7.0+ ✔

Screenshots

Development

npm install
npm start

Example

http://localhost:8003/examples/

online example: http://react-component.github.io/editor-core/

Feature

  • support ie8,ie8+,chrome,firefox,safari

install

rc-editor-core

Usage

var EditorCore = require('rc-editor-core');
var React = require('react');
React.render(<EditorCore />, container);

API

props

name type default description
className String additional css class of root dom node

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

open coverage/ dir

License

rc-editor-core is released under the MIT license.