-
I am using React 18.2.0 on NextJS and get the following error whenever creating a CodeMirror component in one of my components. The code I have at the moment is as following:
```tsx
import CodeMir…
-
In the [`IEditorConstructionOptions`](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.ieditorconstructionoptions.html) has a property called [`automaticLayout`](https://microsof…
-
Here is a basic component that renders fold gutters fine. You can see that I'm importing the language from `@codemirror/lang-javascript`:
import CodeMirror from "@uiw/react-codemirror";
im…
-
If you focus on the editor and press `CTRL+Z` the content dissapears. I think this is not expected behavior. This issue happens in both [v3](https://raw.githack.com/uiwjs/react-codemirror/doc3/index.h…
-
I want to use react-codemirror in an editor that auto-resizes, but I still want to use a minimum height. Unfortunately, react-codemirror does set `height: '100% !important'` on the `.cm-scroller` elem…
-
This is my first time using it and trying to setup a basic version in order for it to show up, the following is my setup, let me know if I did something wrong, thanks.
```
import React, { PropTypes }…
-
Codemirror does not provides any options to change the dimension of the editor. For changing the dimension I fear that the instance of code mirror is needed.
I propose a solution where introduce a …
-
I ran into a confusing issue where the `` component was loading its own copy of codemirror and my custom implementation of was looking for modes and addons in another directory. This caused my addons…
-
I'm trying to integrate eslint4b with codemirror linting addon using `codemirror-lint-eslint` library.
I keep getting this error
![image](https://user-images.githubusercontent.com/2896774/118385…
-
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 theme.
…