react-codemirror
react-codemirror copied to clipboard
CodeMirror 6 component for React. @codemirror https://uiwjs.github.io/react-codemirror/
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...
Hello, is it only me, but i dont realy see difference when highlightSpecialChars is checked/unchecked? Any idea how to make it working? It does not work even on https://uiwjs.github.io/react-codemirror/ My...
Is there a known solution for using a React component in a [widget decoration](https://codemirror.net/docs/ref/#view.Decoration^widget)? I initially thought that I could perhaps use a [Portal](https://reactjs.org/docs/portals.html), where it queried the CodeMirror editor...
It seems that there is no way to disable copy paste in the editor : [Link](https://uiwjs.github.io/react-codemirror/)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react](https://reactjs.org/) ([source](https://redirect.github.com/facebook/react/tree/HEAD/packages/react)) | [`~18.2.0` -> `~18.3.0`](https://renovatebot.com/diffs/npm/react/18.2.0/18.3.1) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react-test-renderer](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-test-renderer) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-test-renderer)) | [`~18.0.0` -> `~18.3.0`](https://renovatebot.com/diffs/npm/@types%2freact-test-renderer/18.0.7/18.3.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
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.
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8` -> `^9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.0.0) |...
I am working on a Swift app (macOS/AppKit and iOS/UIKit) and I'm using CodeMirror for a script editor screen. I'd love to be able to use the themes in this...
I have tried to use `CodeMirror` with Remix but it doesn't work and breaks instantly. Here's a minimal reproduction link on codesandbox https://codesandbox.io/p/devbox/twilight-voice-33kd6j Error: ``` Warning: React.jsx: type is invalid...