React editor based on draftjs
- Support qiniu upload
- Support aliyun oss upload
- Support custom server upload
- i18n zh-CN / en-US
- Popular functions of editor
- Less is more
npm install --save lay-editor
https://laygit.github.io/lay-editor/
import React, { Component } from 'react'
import { LayEditor } from 'lay-editor'
import 'lay-editor/dist/lay-editor.css'
class Example extends Component {
render () {
return (
<LayEditor />
)
}
}
MIT © LayGit