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

Seems that the line numbers are added as a data attr correctly with `rehypePrism`, but there is no built in styling for the numbers. Am I missing something? I tried...

here is my code. I'm confused where goes wrong. ```js import CodeEditor from "@uiw/react-textarea-code-editor"; import rehypePrism from "rehype-prism-plus"; export const Sparql = () => { return ( ); }; ```

I use react-router v7 which uses Vite. When I import the module via ``` import CodeEditor from '@uiw/react-textarea-code-editor'; ``` It fails with error: Cannot find module '.../node_modules/@uiw/react-textarea-code-editor/esm/Editor' imported from .../node_modules/@uiw/react-textarea-code-editor/esm/index.js...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`^18.0.31` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@types%2freact/18.3.18/19.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/19.0.2?slim=true)](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` -> `^19.0.0`](https://renovatebot.com/diffs/npm/@types%2freact-test-renderer/18.3.1/19.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-test-renderer/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

Like most people I'm using css (sass) modules for my components. How do I use css modules with this component? I see that I can pass `className` as a prop...

Hey :) When using markdown as language and typing something like this: ```md \```html \``` ``` (without the backslash) The `