{"action":"created","issue":{"url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/40","repository_url":"https://api.github.com/repos/instructure-react/react-tinymce","labels_url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/40/comments","events_url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/40/events","html_url":"https://github.com/instructure-react/react-tinymce/pull/40","id":170853069,"number":40,"title":"tinymce.4.2.7.min.js Uncaught TypeError: Cannot read property 'body' …","user":{"login":"ramratangupta","id":3097256,"avatar_url":"https://avatars.githubusercontent.com/u/3097256?v=3","gravatar_id":"","url":"https://api.github.com/users/ramratangupta","html_url":"https://github.com/ramratangupta","followers_url":"https://api.github.com/users/ramratangupta/followers","following_url":"https://api.github.com/users/ramratangupta/following{/other_user}","gists_url":"https://api.github.com/users/ramratangupta/gists{/gist_id}","starred_url":"https://api.github.com/users/ramratangupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramratangupta/subscriptions","organizations_url":"https://api.github.com/users/ramratangupta/orgs","repos_url":"https://api.github.com/users/ramratangupta/repos","events_url":"https://api.github.com/users/ramratangupta/events{/privacy}","received_events_url":"https://api.github.com/users/ramratangupta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T11:37:20Z","updated_at":"2016-08-23T07:23:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/instructure-react/react-tinymce/pulls/40","html_url":"https://github.com/instructure-react/react-tinymce/pull/40","diff_url":"https://github.com/instructure-react/react-tinymce/pull/40.diff","patch_url":"https://github.com/instructure-react/react-tinymce/pull/40.patch"},"body":"issue was in componentDidMount, init was called with one parameter.\r\n\r\nI am using react-tinymce 0.2.3 and tinymce 4.2.7. as per below code in handleEditorChange, after call of e.target.getContent() I am getting error\r\n\r\ntinymce.4.2.7.min.js:10 Uncaught TypeError: Cannot read property 'body' of null\r\nI tried to put e.target.getContent() in jQuery's ready function but no success.\r\n\r\nI am using react 0.13.3.\r\n\r\n<TinyMCE config={...} content={html} onBlur={this.handleEditorChange} />\r\nhttp://stackoverflow.com/questions/38613095/tinymce-4-2-7-min-js-uncaught-typeerror-cannot-read-property-body-of-null"},"comment":{"url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/comments/241648788","html_url":"https://github.com/instructure-react/react-tinymce/pull/40#issuecomment-241648788","issue_url":"https://api.github.com/repos/instructure-react/react-tinymce/issues/40","id":241648788,"user":{"login":"abhirathore2006","id":3352441,"avatar_url":"https://avatars.githubusercontent.com/u/3352441?v=3","gravatar_id":"","url":"https://api.github.com/users/abhirathore2006","html_url":"https://github.com/abhirathore2006","followers_url":"https://api.github.com/users/abhirathore2006/followers","following_url":"https://api.github.com/users/abhirathore2006/following{/other_user}","gists_url":"https://api.github.com/users/abhirathore2006/gists{/gist_id}","starred_url":"https://api.github.com/users/abhirathore2006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhirathore2006/subscriptions","organizations_url":"https://api.github.com/users/abhirathore2006/orgs","repos_url":"https://api.github.com/users/abhirathore2006/repos","events_url":"https://api.github.com/users/abhirathore2006/events{/privacy}","received_events_url":"https://api.github.com/users/abhirathore2006/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T07:23:30Z","updated_at":"2016-08-23T07:23:30Z","body":"i faced the same error, but i was in bit hurry so forked it and published after making necessary changes, check https://www.npmjs.com/package/react-tinymce-editor and let me know if it helps you. Also don't forget to read Note section of new Readme file and changelog "}}
{"actor":{"display_login":"abhirathore2006"}}