react-codemirror
react-codemirror copied to clipboard
Codemirror Component for React.js
Hey, When I'm importing the component: `import CodeMirror from 'react-codemirror';` I'm getting the following warning : > WARNING in ./~/react-codemirror/lib/Codemirror.js > There is another module with an equal name when...
I'm trying to use Firebase's [Firepad](https://github.com/firebase/firepad) with this component. Firepad is expecting a global CodeMirror object, which it doesn't find unless I include the library separately. Perhaps it is a...
Hi I receive `Uncaught TypeError: Cannot read property 'setOption' of undefined`, which happens in `componentWillReceiveProps` at line 50. `this.codeMirror.setOption(optionName, nextProps.options[optionName]);` For some reason, it seems that `componentWillReceiveProps` triggers before `componentDidMount`,...
Hi there! I would just like to start by saying thanks! React-Codemirror has been awesome. Sometimes I wish instead of bug reports there was a thing on github for "appreciation...
I've tried to embed `react-codemirror` into the app as described in the example, but faced strange issue. I got an error `TypeError: CM.fromTextArea is not a function`. After some investigation,...
Hi Mr.JedWatson! I have set options lineNumbers is true, and when CodeMirror render, the style of linenumber is not loaded. 
`onChange` is called when the Codemirror component receives a new value when rendering. Test case: https://gist.github.com/insin/9e507894f3858028c7e5 Live version: http://bl.ocks.org/insin/raw/9e507894f3858028c7e5/ Every call to onChange is `alert()`-ed, Clicking the "Change value" button...
There might be a very good reason I'm not aware of for debouncing `componentWillReceiveProps` by default, but it created a lot of headache when it comes to state synchronization (refs...
I've been stuck trying to test this component with webdriver.io for days now. Has anyone successfully been able to do this??
Did the instructions and all was working fine until I had to set the mode for the CodeMirror instance. Installed `codemirror` as a dependency, `require`d the language and got a...