-
@jaywcjlove
When the CodeMirror editor is mounted (i.e., initialized). It takes an _editorReference parameter like in codemirror2
same i need this here in @uiw/code-mirror , so it can perform cust…
-
```
react-dom:4 Uncaught TypeError: Cannot read properties of undefined (reading 'attach')
at Object.eval [as keyMap] (codemirror.js:4:156330)
at new ul (codemirror.js:4:133292)
at u…
-
It looks like this project is using an outdated CodeMirror or React version but I can't get my project to load when I import the MarkdownEditor Component. I get the following error:
TypeError: Cann…
-
I'm trying to get access to the state of the editor in order to find the position of the cursor in order to broadcast it (using node/websockets). My question is how do you access state and view in the…
-
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…
-
Hi there! First of all, thanks for this library, it really helps me building a JSON editor with a custom json format and conveniently validate it. Unfortunately, I ran into an issue where JSON schema …
-
I see it discussed here:
https://discuss.codemirror.net/t/always-show-linter-panel/7065
but unsure how one can add this in React CodeMirror.
-
I can't seem to get the linting to work for javaScript mode. I read about a similar JSON linting issue from this repo only but that also doesn't seem to solve the problem. When my component mounts I g…
-
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 so I need to click inside the editor…
-
yarn build =>
./node_modules/@codemirror/lint/dist/index.js
TypeError: \node_modules\@codemirror\lint\dist\index.js: Property body expected type of array but got null
just like this imp…