{"action":"created","issue":{"url":"https://api.github.com/repos/sstur/react-rte/issues/157","repository_url":"https://api.github.com/repos/sstur/react-rte","labels_url":"https://api.github.com/repos/sstur/react-rte/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/sstur/react-rte/issues/157/comments","events_url":"https://api.github.com/repos/sstur/react-rte/issues/157/events","html_url":"https://github.com/sstur/react-rte/issues/157","id":197094240,"number":157,"title":"value.getEditorState is not a function","user":{"login":"aTylerRice","id":1625876,"avatar_url":"https://avatars2.githubusercontent.com/u/1625876?v=3","gravatar_id":"","url":"https://api.github.com/users/aTylerRice","html_url":"https://github.com/aTylerRice","followers_url":"https://api.github.com/users/aTylerRice/followers","following_url":"https://api.github.com/users/aTylerRice/following{/other_user}","gists_url":"https://api.github.com/users/aTylerRice/gists{/gist_id}","starred_url":"https://api.github.com/users/aTylerRice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aTylerRice/subscriptions","organizations_url":"https://api.github.com/users/aTylerRice/orgs","repos_url":"https://api.github.com/users/aTylerRice/repos","events_url":"https://api.github.com/users/aTylerRice/events{/privacy}","received_events_url":"https://api.github.com/users/aTylerRice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-22T04:51:23Z","updated_at":"2017-04-18T15:25:30Z","closed_at":null,"body":"I'm getting this error:\r\n`TypeError: value.getEditorState is not a function`\r\n\r\n`        <RichTextEditor value={this.state.body} onChange={this.handleEditorBodyChange.bind(this)} />\r\n`\r\n\r\n`  handleEditorBodyChange(body){\r\n    this.setState({body});\r\n  }`\r\n\r\n`  constructor(props) {\r\n    super(props);\r\n    this.state = {body: RichTextEditor.createEmptyValue()};\r\n}`"},"comment":{"url":"https://api.github.com/repos/sstur/react-rte/issues/comments/294880754","html_url":"https://github.com/sstur/react-rte/issues/157#issuecomment-294880754","issue_url":"https://api.github.com/repos/sstur/react-rte/issues/157","id":294880754,"user":{"login":"cristeagc","id":6369913,"avatar_url":"https://avatars3.githubusercontent.com/u/6369913?v=3","gravatar_id":"","url":"https://api.github.com/users/cristeagc","html_url":"https://github.com/cristeagc","followers_url":"https://api.github.com/users/cristeagc/followers","following_url":"https://api.github.com/users/cristeagc/following{/other_user}","gists_url":"https://api.github.com/users/cristeagc/gists{/gist_id}","starred_url":"https://api.github.com/users/cristeagc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristeagc/subscriptions","organizations_url":"https://api.github.com/users/cristeagc/orgs","repos_url":"https://api.github.com/users/cristeagc/repos","events_url":"https://api.github.com/users/cristeagc/events{/privacy}","received_events_url":"https://api.github.com/users/cristeagc/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T15:25:30Z","updated_at":"2017-04-18T15:25:30Z","body":"@aTylerRice Can you check if ```this.state.body``` changes in any way it's type?\r\nMy problem was that I was setting it to a string by accident when submitting the data the server. So make sure the ```this.state.body``` stays set to the ```RichTextEditor```.\r\nHope this is helpful. :)"}}
{"actor":{"display_login":"cristeagc"}}