Created
June 24, 2018 13:19
-
-
Save levvsha/ab2256e945f23b3a52294a0e5fd7501b 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
| const decorator = new CompositeDecorator([ | |
| { | |
| strategy: findLinkEntities, | |
| component: Link | |
| } | |
| ]); | |
| this.state = { | |
| inlineToolbar: { show: false }, | |
| editorState: EditorState.createEmpty(decorator) | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment