react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Error using React Markdown editor

Open johnsonsamuel opened this issue 7 years ago • 1 comments

Hello I am trying to implement react markdown editor and I have used Jed Watson's http://jedwatson.github.io/react-md-editor/

But the problem is that, I am getting the error attached. Any thoughts what I am missing :(.. Has anyone encountered similar issue ?

import Editor from 'react-md-editor';

state = { code: '# React Markdown '

}

updateCode = (newCode) => { this.setState({ code: newCode }); }

Render:

screen shot 2018-05-28 at 1 33 55 pm

johnsonsamuel avatar May 28 '18 08:05 johnsonsamuel

TL;DR - Project's PropTypes usage is incompatible with the project's React version.

Here's the detailed answer: https://stackoverflow.com/a/50561962/4312466

jordan-enev avatar May 28 '18 08:05 jordan-enev