Skip to content

LayGit/lay-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lay-editor

React editor based on draftjs

NPM JavaScript Style Guide

Features

  • Support qiniu upload
  • Support aliyun oss upload
  • Support custom server upload
  • i18n zh-CN / en-US
  • Popular functions of editor
  • Less is more

Install

npm install --save lay-editor

Example

https://laygit.github.io/lay-editor/

Usage

import React, { Component } from 'react'

import { LayEditor } from 'lay-editor'
import 'lay-editor/dist/lay-editor.css'

class Example extends Component {
  render () {
    return (
      <LayEditor />
    )
  }
}

License

MIT © LayGit

About

React editor based on draftjs

Resources

License

Stars

Watchers

Forks

Packages

No packages published