draft-richtext

0.1.8 • Public • Published

Installing

The package can be installed from npm react-draft-wysiwyg

$ npm install --save @channelwill/draft-richtext

Getting started

Editor can be used as simple React Component:

import { Editor } from "@channelwill/draft-richtext";
import "@channelwill/draft-richtext/dist/react-draft-wysiwyg.css";
<Editor
  editorState={editorState}
  toolbarClassName="toolbarClassName"
  wrapperClassName="wrapperClassName"
  editorClassName="editorClassName"
  onEditorStateChange={this.onEditorStateChange}
/>;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.80latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.80
0.1.71
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.21
0.0.10
1.15.00

Package Sidebar

Install

npm i draft-richtext

Weekly Downloads

2

Version

0.1.8

License

MIT

Unpacked Size

319 kB

Total Files

7

Last publish

Collaborators

  • hubaoqing