jpuri/react-draft-wysiwyg(opens in a new tab)
Language: JavaScript
A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
- stars
- 6,456
- watchers
- 86
- forks
- 1,146
- open issues
- 750
- Last updated
- 12/01/2024
Language: JavaScript
A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
A Wysiwyg editor built using ReactJS and DraftJS libraries. Demo Page.
React Draft Wysiwyg Bot will help you understand this repository better. You can ask for code examples, installation guide, debugging help and much more.
The package can be installed from npm react-draft-wysiwyg
$ npm install --save react-draft-wysiwyg draft-js
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} />;
For more documentation check here.
For discussions join public channel #rd_wysiwyg in DraftJS Slack Organization.
You can fund project at Patreon.
Original motivation and sponsorship for this work came from iPaoo. I am thankful to them for allowing the Editor to be open-sourced.
MIT.