react-codemirror
react-codemirror copied to clipboard
CodeMirror 6 component for React. @codemirror https://uiwjs.github.io/react-codemirror/
On an initial attempt to get this working with snowpack, I'm running into an issue resolving the `mode`: > Uncaught (in promise) TypeError: Failed to resolve module specifier 'codemirror/mode/jsx/jsx.js' My...
I want to display lint errors which I receive from external API. Error information I receive from the API is 1. Line number 2. Error description I would like to...
I'd love to see this being a feature. I've researched and can't seem to find anything like it.
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"; import { duotoneDark } from "@uiw/codemirror-theme-duotone";...
**Issue:** I want to add snippet with multiple fields in my code editor. I am able to add snippet but when I am trying to switch to next field using...
Hello! Thanks for this great project! It's not so clear how to set a limit on the number of characters entered? Isn’t there any built-in solution? Simple example: https://codesandbox.io/s/react-codemirror-example-codemirror-6-forked-kylrmk?file=/src/App.tsx Thanks...
I strongly recommend to revert 387a0c5b11991841cd40c880bc95cb389de87022 because it has introduced a bug. It doesn't call the correct `onChange`, if `props.onChange` gets changed by the parent component. # But why? ##...
I'm using the Code Mirror to visualize and lint a list of words for the user. My expectation is to auto-format the inserted text e.g. convert `a, b, c` to...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-next](https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config) ([source](https://redirect.github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next)) | [`14.0.3` -> `14.2.15`](https://renovatebot.com/diffs/npm/eslint-config-next/14.0.3/14.2.15) | [](https://docs.renovatebot.com/merge-confidence/) |...
When passing long enough text to the CodeMirror component, it will only create certain DOM elements based on the height of the CodeMirror component, therefore, when the text is too...