2.0.0 • Published 3 years ago

@doky-lab/react-draft-wysiwyg v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Draft Wysiwyg

/!\ WARNING

This is a fork with only the required elements we use at Doky. You shouldn't use this fork for your own use, because the available features are very limited !

This fork also includes this fix.

END WARNING

A Wysiwyg editor built using ReactJS and DraftJS libraries. Demo Page.

Installing

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

$ npm install --save react-draft-wysiwyg draft-js

Getting started

Editor can be used as simple React Component:

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

Docs

For more documentation check here.

Questions Discussions

For discussions join public channel #rd_wysiwyg in DraftJS Slack Organization.

Thanks

Original motivation and sponsorship for this work came from iPaoo. I am thankful to them for allowing the Editor to be open-sourced.

License

MIT.

0.0.1

3 years ago

2.0.0

3 years ago

1.15.5

4 years ago

1.15.4

4 years ago

1.15.3

4 years ago

1.15.2

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.7

4 years ago

1.14.6

4 years ago