Open orlandodiaz opened 5 years ago
It looks like this project is using an outdated CodeMirror or React version but I can't get my project to load when I import the MarkdownEditor Component. I get the following error:
TypeError: Cannot read property 'func' of undefined ./node_modules/react-codemirror/lib/Codemirror.js node_modules/react-codemirror/lib/Codemirror.js:12 9 | var CodeMirror = React.createClass({ 10 | displayName: 'CodeMirror', 11 | propTypes: {
12 | onChange: React.PropTypes.func, 13 | onFocusChange: React.PropTypes.func, 14 | options: React.PropTypes.object, 15 | path: React.PropTypes.string, View compiled
Hi. Thanks for reporting this, will try to find some time following week and update the project.
Is there any solution to this? I am having the same problem.
It looks like this project is using an outdated CodeMirror or React version but I can't get my project to load when I import the MarkdownEditor Component. I get the following error:
TypeError: Cannot read property 'func' of undefined ./node_modules/react-codemirror/lib/Codemirror.js node_modules/react-codemirror/lib/Codemirror.js:12 9 | var CodeMirror = React.createClass({ 10 | displayName: 'CodeMirror', 11 | propTypes: {