me

maby-editor

https://liuqing650.github.io/maby-editor/preview

Showing:

Popularity

Downloads/wk

8

GitHub Stars

0

Maintenance

Last Commit

1yr ago

Contributors

3

Package

Dependencies

10

Size (min+gzip)

66.7KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

maby-editor

预览

maby-editor

安装

npm install maby-editor --save

示例

import React, { Component } from 'react';
import MabyEditor from 'maby-editor';
export default class Example extends Component {
  state = {
    value: null
  }
  onChange = ({ value }) => {
    this.setState({ value })
  }
  handleSubmit = (value) => {
    console.log('value---->', value);
  }
  render() {
    const { value } = this.state;
    const mabyEditProps = {
      value: value,
      onChange: this.onChange,
      handleValue: this.handleSubmit
    };
    return (
      <div>
        <h2>测试maby-edit</h2>
        <MabyEdit {...mabyEditProps} />
      </div>
    );
  }
}

还很不完善...

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial