vertical-draft-editor

1.0.5 • Public • Published

vertical-draft-editor

Description

vertical text editor,base on draft。

Instructions

  1. npm

`

npm install vertical-draft-editor

`

  1. import Editor

`

import Editor from 'vertical-draft-editor';
...
<Editor
	rawContent={data}
	onChange={(result) => { console.log(result) }}
/>

`

rawContent data type is RawDraftContentState.toString() .

  1. externals react & react-dom.

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Repository

gitee: https://gitee.com/drong-x/vertical-draft-editor

/vertical-draft-editor/

    Package Sidebar

    Install

    npm i vertical-draft-editor

    Weekly Downloads

    5

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    328 kB

    Total Files

    4

    Last publish

    Collaborators

    • xdrxdr