react-textarea-code-editor
react-textarea-code-editor copied to clipboard
A simple code editor with syntax highlighting.
tried this to no avail onKeyDown={(e) => { if (e.key == "Enter" && (e.ctrlKey || e.metaKey)) { onSubmit(e); return false; } }}
Is there a way to customise which specific words in the textarea are colored/highlighted based on a custom regex function or similar? I saw the issue regarding the prism plugins...
I am trying to add regex tester to https://ray.run/tools similar to https://regex101.com/. The main requirement is that I want to highlight matching parts of the code. The other use case...
I'm trying to use this with a `next.config.mjs` file and am probably using this incorrectly. The issue I'm running into is that there is no place for me to pass...
Thank you for your hard work. I am using this library with Tailwind. However, after adding the `font-mono` class, it is not working in the library. The reason for this...
Hello is there a way to display the language select button for the editor just like on the homepage at https://uiwjs.github.io/react-textarea-code-editor/ Thanks.
When printing, the colors of the code are incorrect when styles are using auto. **My system**: MacOS Ventura 13.1 set to Dark theme Chrome 108.0.5359.124 (Official Build) (arm64) **To reproduce**:...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rehype-prism-plus](https://redirect.github.com/timlrx/rehype-prism-plus) | [`2.0.0` -> `2.0.1`](https://renovatebot.com/diffs/npm/rehype-prism-plus/2.0.0/2.0.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
I'm using @uiw/react-textarea-code-editor in a React project to create a basic HTML code editor. The editor works fine in the component logic, but upon compiling the app, I receive the...