Skip to content

Releases: uiwjs/react-textarea-code-editor

v3.0.2

30 Nov 02:18
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

Documentation v3.0.2: https://raw.githack.com/uiwjs/react-textarea-code-editor/e3e33bb/index.html
Comparing Changes: v3.0.2...v3.0.2

npm i @uiw/react-textarea-code-editor@

v3.0.1

29 Nov 04:52
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

Documentation v3.0.1: https://raw.githack.com/uiwjs/react-textarea-code-editor/e1e1ae9/index.html
Comparing Changes: v3.0.0...v3.0.1

v3.0.0

29 Nov 03:46
Compare
Choose a tag to compare

Buy me a coffee npm bundle size

Documentation v3.0.0: https://raw.githack.com/uiwjs/react-textarea-code-editor/fd37bcf/index.html
Comparing Changes: v2.1.9...v3.0.0

Remove Code Highlight

The following example can help you exclude code highlighting code from being included in the bundle. @uiw/react-textarea-code-editor/nohighlight component does not contain the rehype-prism-plus code highlighting package.

import React, { useState } from "react";
import CodeEditor from '@uiw/react-textarea-code-editor/nohighlight';

export default function App() {
  const [code, setCode] = useState(
    `function add(a, b) {\n  return a + b;\n}`
  );
  return (
    <CodeEditor
      value={code}
      language="js"
      placeholder="Please enter JS code."
      onChange={(evn) => setCode(evn.target.value)}
      padding={15}
      style={{
        backgroundColor: "#f5f5f5",
        fontFamily: 'ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace',
      }}
    />
  );
}

v2.1.9

22 Sep 14:34
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.9: https://raw.githack.com/uiwjs/react-textarea-code-editor/4207e23/index.html
Comparing Changes: v2.1.8...v2.1.9

v2.1.8

22 Sep 14:27
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.8: https://raw.githack.com/uiwjs/react-textarea-code-editor/7276be9/index.html
Comparing Changes: v2.1.7...v2.1.8

v2.1.7

23 Jun 14:10
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.7: https://raw.githack.com/uiwjs/react-textarea-code-editor/5547392/index.html
Comparing Changes: v2.1.6...v2.1.7

v2.1.6

11 Jun 09:37
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.6: https://raw.githack.com/uiwjs/react-textarea-code-editor/2aa7d93/index.html
Comparing Changes: v2.1.5...v2.1.6

v2.1.5

11 Jun 09:32
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.5: https://raw.githack.com/uiwjs/react-textarea-code-editor/ef1b29a/index.html
Comparing Changes: v2.1.4...v2.1.5

v2.1.4

11 Jun 08:49
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.4: https://raw.githack.com/uiwjs/react-textarea-code-editor/ce820a6/index.html
Comparing Changes: v2.1.3...v2.1.4

v2.1.3

09 Jun 03:28
Compare
Choose a tag to compare

npm bundle size

Documentation v2.1.3: https://raw.githack.com/uiwjs/react-textarea-code-editor/a82a1cc/index.html
Comparing Changes: v2.1.2...v2.1.3