react-codemirror
react-codemirror copied to clipboard
CodeMirror 6 component for React. @codemirror https://uiwjs.github.io/react-codemirror/
The following code example in the ReadMe will cause a lot of unnecessary re-renders, because of prop changes. ```jsx import CodeMirror from '@uiw/react-codemirror'; import { javascript } from '@codemirror/lang-javascript'; export...
How can I get autocomplete recommendation in code mirror
Hello Everyone, I am having on a page two code mirror editors. What want to archive is send the value of booth data to one API for validation if in...
Hello, I came here, because after days of search, and didn't find a solution . First, I'm locked with v3, because the language I need seems not supported by CM6...
Is it possible to move the state out of the React component and instead always provide it as a prop? I.e., making it controlled vs its current uncontrolled? https://reactjs.org/docs/uncontrolled-components.html https://reactjs.org/docs/forms.html#controlled-components
I came across some unusual behavior trying out this component: snippet functionality gets partially disabled when using this component and updating state in a onchange handler. The first term in...
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.html) and [v4](https://uiwjs.github.io/react-codemirror/) demos in `react-codemirror`....
I have this code in the app for user to copy the code snippet, but I do not want the user to accidentally edit the code. I added `editable={false}` to...
Module not found: Can't resolve 'react/jsx-runtime' in '.../node_modules/@uiw/react-codemirror/esm'
React version: 16.13.1
I wonder if this package does support lsp such as https://github.com/palantir/python-language-server? Thanks.