lay-editor
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

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'
 
class Example extends Component {
  render () {
    return (
      <LayEditor />
    )
  }
}

License

MIT © LayGit

Package Sidebar

Install

npm i lay-editor

Weekly Downloads

2

Version

0.0.9

License

MIT

Unpacked Size

4.84 MB

Total Files

113

Last publish

Collaborators

  • jserlay