react-codemirror2
react-codemirror2 copied to clipboard
Codemirror integrated components for React
This PR adds a `codeMirrorInstance` prop to the editor, as inspired by the [same prop](https://github.com/JedWatson/react-codemirror#properties) in react-codemirror. I'm trying to migrate my company from react-codemirror to react-codemirror2, but without this...
It looks like your dependency tree is dead. Is there any chance to update it?
Steps to reproduce: 1. Select any character in the editor 2. Press the same letter multiple times (one which is selected. Expected: Letter should get replaced and then same letter...
 It looks like a Tag. You can even use Backspace to delete it. I tried addWidget() and addLineWidget() but it doesn't work. help...please...
Can some one help me ? I dont see the line numbers on my editor and i don't seem to figure out what i am doing wrong
Hello, I want to set focus to my codemirror editor via external button click. I am already using the prop `options={{ autofocus: true }} ` and that works well when...
this is my code Importing styles has no effect ` // Import the code mirror component. import {Controlled as CodeMirror} from 'react-codemirror2'; // The following two imports is for the...
I've an UnControlled Editor, imported as CodeMirror. Here's how I configure it: ``` const CodeEditor = (props) => { const { code, selection } = props useEffect(() => { console.log(selection)...
Although the react-codemirror2 package itself works fine in SSR (its import doesn't scream with error), the depended mode files can't be imported, such as **codemirror/mode/javascript/javascript** (it would give you an...
hey, how can I load npm packages via the code editor