{"action":"created","issue":{"url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/478","repository_url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins","labels_url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/478/comments","events_url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/478/events","html_url":"https://github.com/draft-js-plugins/draft-js-plugins/issues/478","id":182200164,"number":478,"title":" Cannot read property 'theme' of undefined","user":{"login":"Tomasseee","id":6481761,"avatar_url":"https://avatars.githubusercontent.com/u/6481761?v=3","gravatar_id":"","url":"https://api.github.com/users/Tomasseee","html_url":"https://github.com/Tomasseee","followers_url":"https://api.github.com/users/Tomasseee/followers","following_url":"https://api.github.com/users/Tomasseee/following{/other_user}","gists_url":"https://api.github.com/users/Tomasseee/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomasseee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomasseee/subscriptions","organizations_url":"https://api.github.com/users/Tomasseee/orgs","repos_url":"https://api.github.com/users/Tomasseee/repos","events_url":"https://api.github.com/users/Tomasseee/events{/privacy}","received_events_url":"https://api.github.com/users/Tomasseee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-11T08:12:33Z","updated_at":"2016-10-14T21:56:08Z","closed_at":null,"body":"I get this error message when try to use the toolbar-plugin.\r\nWhat did i wrong?\r\n\r\n```\r\nimport React, { Component } from 'react';\r\nimport Editor from 'draft-js-plugins-editor';\r\nimport { EditorState } from 'draft-js';\r\nimport createToolbarPlugin from 'draft-js-toolbar-plugin';\r\n\r\nconst toolbarPlugin = createToolbarPlugin();\r\n\r\nconst Wysiwyg = React.createClass({\r\n\r\n  getInitialState() {\r\n    return {\r\n      editorState: EditorState.createEmpty(),\r\n    }\r\n  },\r\n\r\n  onChange(editorState) {\r\n    this.setState({\r\n      editorState: editorState\r\n    });\r\n  },\r\n\r\n  render() {\r\n    return (\r\n      <Editor\r\n        editorState={this.state.editorState}\r\n        onChange={this.onChange}\r\n        plugins={[toolbarPlugin]}/>\r\n    );\r\n  }\r\n});\r\n\r\nexport default Wysiwyg\r\n```"},"comment":{"url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/comments/253929378","html_url":"https://github.com/draft-js-plugins/draft-js-plugins/issues/478#issuecomment-253929378","issue_url":"https://api.github.com/repos/draft-js-plugins/draft-js-plugins/issues/478","id":253929378,"user":{"login":"nikgraf","id":223045,"avatar_url":"https://avatars.githubusercontent.com/u/223045?v=3","gravatar_id":"","url":"https://api.github.com/users/nikgraf","html_url":"https://github.com/nikgraf","followers_url":"https://api.github.com/users/nikgraf/followers","following_url":"https://api.github.com/users/nikgraf/following{/other_user}","gists_url":"https://api.github.com/users/nikgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgraf/subscriptions","organizations_url":"https://api.github.com/users/nikgraf/orgs","repos_url":"https://api.github.com/users/nikgraf/repos","events_url":"https://api.github.com/users/nikgraf/events{/privacy}","received_events_url":"https://api.github.com/users/nikgraf/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T21:56:07Z","updated_at":"2016-10-14T21:56:07Z","body":"I will close this for now, but feel free to continue asking question. I come back and respond."}}
{"actor":{"display_login":"nikgraf"}}