vertical-draft-editor

#### Description 文本竖向输入富文本编辑器,基于draft。

Usage no npm install needed!

<script type="module">
  import verticalDraftEditor from 'https://cdn.skypack.dev/vertical-draft-editor';
</script>

README

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