react-textarea-code-editor icon indicating copy to clipboard operation
react-textarea-code-editor copied to clipboard

A simple code editor with syntax highlighting.

Results 47 react-textarea-code-editor issues
Sort by recently updated
recently updated
newest added

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**:...

![NQ@~FV1M8R3_@2)~13Q$VVY](https://user-images.githubusercontent.com/5111701/200979996-16b5fce8-e311-4d31-8aa2-f2182a4a3436.png)

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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rehype-prism-plus/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rehype-prism-plus/2.0.1?slim=true)](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...