{"action":"created","issue":{"url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/7","repository_url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin","labels_url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/7/comments","events_url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/7/events","html_url":"https://github.com/jasonphillips/draft-js-richbuttons-plugin/issues/7","id":183412009,"number":7,"title":"Error: this.getEditorState is not a function","user":{"login":"dzeno","id":603877,"avatar_url":"https://avatars.githubusercontent.com/u/603877?v=3","gravatar_id":"","url":"https://api.github.com/users/dzeno","html_url":"https://github.com/dzeno","followers_url":"https://api.github.com/users/dzeno/followers","following_url":"https://api.github.com/users/dzeno/following{/other_user}","gists_url":"https://api.github.com/users/dzeno/gists{/gist_id}","starred_url":"https://api.github.com/users/dzeno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzeno/subscriptions","organizations_url":"https://api.github.com/users/dzeno/orgs","repos_url":"https://api.github.com/users/dzeno/repos","events_url":"https://api.github.com/users/dzeno/events{/privacy}","received_events_url":"https://api.github.com/users/dzeno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T13:11:33Z","updated_at":"2016-10-18T19:04:16Z","closed_at":null,"body":"I get this error when trying to apply formatting (clicking the icon): `this.getEditorState is not a function`\r\n\r\nHere is how initialize editor: \r\n`<Editor\r\neditorState={this.props.editorState}\r\n                        onChange={this.onChange}\r\n                        handleKeyCommand={this.handleKeyCommand}\r\n                        handleReturn={this.handleReturn}\r\n                        keyBindingFn={myKeyBindingFn}\r\n                        spellCheck={'true'}\r\n                        ref=\"editor\"\r\n                        plugins={richButtonsPlugin}\r\n                    />`"},"comment":{"url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/comments/254606915","html_url":"https://github.com/jasonphillips/draft-js-richbuttons-plugin/issues/7#issuecomment-254606915","issue_url":"https://api.github.com/repos/jasonphillips/draft-js-richbuttons-plugin/issues/7","id":254606915,"user":{"login":"hasSean","id":12942422,"avatar_url":"https://avatars.githubusercontent.com/u/12942422?v=3","gravatar_id":"","url":"https://api.github.com/users/hasSean","html_url":"https://github.com/hasSean","followers_url":"https://api.github.com/users/hasSean/followers","following_url":"https://api.github.com/users/hasSean/following{/other_user}","gists_url":"https://api.github.com/users/hasSean/gists{/gist_id}","starred_url":"https://api.github.com/users/hasSean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasSean/subscriptions","organizations_url":"https://api.github.com/users/hasSean/orgs","repos_url":"https://api.github.com/users/hasSean/repos","events_url":"https://api.github.com/users/hasSean/events{/privacy}","received_events_url":"https://api.github.com/users/hasSean/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T19:04:16Z","updated_at":"2016-10-18T19:04:16Z","body":"Is the richButtonsPlugin prop that you are passing an array? \r\n\r\nI'd guess `plugins={richButtonsPlugin}` needs to be `plugins={[richButtonsPlugin]}`."}}
{"actor":{"display_login":"hasSean"}}