react-codemirror
react-codemirror copied to clipboard
Codemirror Component for React.js
First of all, thanks for putting the work into making CodeMirror work with React. I have it working great EXCEPT the syntax highlighting just doesn't work. I included the necessary...
Changing props.value does not re-render code mirror. This is a new issue in v1.0.0, previously this worked. Changing props.value via the onChange event works fine, but programmatically changing props.value does...
I've tried putting the following in options but none seem to make any change. "height": "100%" "height": "800px" "height": "auto" How can I set the height? thanks
Hi, I'm facing a strange issue, I suppose I did something wrong. When I type a character, I lost the focus on the editor. Moreover, the autoFocus option did work...
Codesandbox: https://codesandbox.io/s/cranky-waterfall-7p4px8?file=/src/App.js Copy the following: ```Rust [lib] crate-type = ["cdylib"] ``` As you can see, the code pastes twice for some reason.
# Overview Hello! I was curious if React 17 support was on the roadmap to be added to `react-codemirror`? Thanks! ## Package versions react-codemirror version: @latest
Super weird behavior, after i load some code into the editor, and then type something, the cursor goes back to the first line in the editor:
Guys, it seems that this project is not being developed anymore. That's why for my needs I made a new one: https://github.com/atassis/react-codemirror-ts If you see any issues or features to...
`ReferenceError: navigator is not defined W20161022-17:29:38.375(-4)? (STDERR) at /Users/mattmacpherson/Code/project/node_modules/codemirror/lib/codemirror.js:24:19 W20161022-17:29:38.375(-4)? (STDERR) at userAgent (/Users/mattmacpherson/Code/project/node_modules/codemirror/lib/codemirror.js:12:22) W20161022-17:29:38.376(-4)? (STDERR) at Object. (/Users/mattmacpherson/Code/project/node_modules/codemirror/lib/codemirror.js:17:3) W20161022-17:29:38.376(-4)? (STDERR) at Module._compile (module.js:409:26) W20161022-17:29:38.376(-4)? (STDERR) at Object.Module._extensions..js (module.js:416:10) W20161022-17:29:38.376(-4)?...
This plugin looks really great but I can seem to get it to appear correct when published. I have checked through the settings and see nothing that can help me....