Open ramratangupta opened 8 years ago
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
issue was in componentDidMount, init was called with one parameter.
I 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
tinymce.4.2.7.min.js:10 Uncaught TypeError: Cannot read property 'body' of null I tried to put e.target.getContent() in jQuery's ready function but no success.
I am using react 0.13.3.
http://stackoverflow.com/questions/38613095/tinymce-4-2-7-min-js-uncaught-typeerror-cannot-read-property-body-of-null