pp-draft-richtext
v0.0.8
Published
pp rich text on top of DraftJS.
Downloads
551
Readme
ParcelPanel
Getting started
Editor can be used as simple React Component:
import { Editor } from "pp-draft-richtext";
import "pp-draft-richtext/dist/pp-draft-richtext.css";
<Editor
editorState={editorState}
toolbarClassName="toolbarClassName"
wrapperClassName="wrapperClassName"
editorClassName="editorClassName"
onEditorStateChange={this.onEditorStateChange}
/>;