react-codemirror2 icon indicating copy to clipboard operation
react-codemirror2 copied to clipboard

Codemirror integrated components for React

Results 107 react-codemirror2 issues
Sort by recently updated
recently updated
newest added

os chrome display like this。 ![image](https://user-images.githubusercontent.com/22729459/97670152-97567200-1ac0-11eb-851c-e5915af516b6.png) it comfused me。

Have found that both the Redo and Undo function are quite useful, but don't know how to implement them with react-codemirror2. Hopefully, there will be certain tips or help, thanks...

why use onchange is not vaild

I use the react-codemirror2 in my react project, but the functions in defineMode not been excuted. Could you give an example about how to define "defineMode" on react-codemirror2, thank you!...

Hello there, When pressing Cmd+Z or Ctrl+Z after deleting few characters in a row, I would expect the `data` object to contain all the changes that will be reapplied to...

### Description I want to create an onChange method where the codemirror component is being rendered so that it adds the text inside the component into the component level state...

Hey, I have a problem with removing the line, I can't do it. I read a doc to codemirror but the function doesn't work. `removeLine(n)` Remove the given line from...

With hooks we can provide a single component, and let user control only some props, using this hook: https://gist.github.com/sibelius/d44c23c1b50f2edb393718b0236dbb20 ```jsx import { useState } from 'react'; export const useControlledState =...

For example, i type some error javascript code in codemirror. Will there be some error tips like red underline under the code?

Hello, I try to load within the `Controlled` version data during the mount process ``` { fetch( encodeURI( this.state.sourceurl + "/" + this.state.name) ) .then( result => { return result.text();...

help wanted