material-ui-markdown-editor icon indicating copy to clipboard operation
material-ui-markdown-editor copied to clipboard

Cant use MarkdownEditor Component

Open orlandodiaz opened this issue 6 years ago • 2 comments

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

orlandodiaz avatar Feb 20 '19 20:02 orlandodiaz

Hi. Thanks for reporting this, will try to find some time following week and update the project.

diedsmiling avatar Feb 21 '19 08:02 diedsmiling

Is there any solution to this? I am having the same problem.

johndc7 avatar May 21 '21 18:05 johndc7