pp-draft-richtext
v0.0.4
Published
pp rich text on top of DraftJS.
Downloads
304
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}
/>;