Last active
July 1, 2018 07:58
-
-
Save levvsha/0e2d65dafa1245406c573e5d4290a8e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render() { | |
... | |
<Editor | |
editorState={editorState} | |
onChange={this.onChange} | |
handleKeyCommand={this.handleKeyCommand} | |
customStyleMap={customStyleMap} | |
handleDroppedFiles={this.handleDroppedFiles} // <-- [3] | |
handleReturn={this.handleReturn} // <-- [2] | |
blockRenderMap={RenderMap} // <-- [1] | |
blockRendererFn={this.blockRendererFn} // <-- [1] | |
ref="editor" | |
/> | |
... | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment