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

Currently CodeMirror provides a wrapper to scrollTo. It would be helpful if it provides a similar wrapper for [scrollIntoView](https://codemirror.net/doc/manual.html#scrollIntoView). If one wants to scroll the editor to a particular line...

help wanted

I use a button to control the display of codemirror, and when I click the button, the codemirror would be focus. so I use `this.CodeMirrorInstance` to control the codemirror component's...

help wanted

Key events such as `onKeyPress` have the wrong types ``` '(k: Editor, e: KeyboardEvent) => void' is not assignable to type 'DomEvent'. ```

help wanted

Step1: save the codes with multi lines Step2: get the codes and fill in the codemirror editor issue: the saved codes displayed with '\n' in a line. It cannot be...

help wanted

I'm trying to use this library but I get this error: ``` Uncaught TypeError: place is not a function at new Display (codemirror.js:4361) at new CodeMirror (codemirror.js:7850) at CodeMirror (codemirror.js:7838)...

help wanted

I'm using Fira Code in opentype format, and none of the `font-feature-settings` are working, even though they work fine outside of the CodeMirror div.

help wanted

![image](https://user-images.githubusercontent.com/4465253/66730645-9aff6280-ee85-11e9-808b-3a8b2a5bdb5f.png) setCursor was added by codemirror. https://github.com/DefinitelyTyped/DefinitelyTyped/commit/f65c1063960cccb4f4b04485e71b1d53d3df57e9#diff-3ad9f9473e8ea6885957422d59660579

help wanted

Hello. I am a Web Developer from Japan. Thank you very much for making the module `react-codemirror2`. When I try to convert Japanese using IME, characters are entered into the...

help wanted

We know Editor's onCursorActivity could be set like this: ``` ``` How about the Editor.Doc

help wanted

https://stackblitz.com/edit/react-ts-yjzlde?file=App.tsx ![image](https://user-images.githubusercontent.com/24764561/193223182-bcc2823b-64ae-4bcf-80df-3630bf34b2cf.png)