Releases: uiwjs/react-textarea-code-editor
v3.1.0
Documentation v3.1.0: https://raw.githack.com/uiwjs/react-textarea-code-editor/a4b373a/index.html
Comparing Changes: v3.0.2...v3.1.0
npm i @uiw/react-textarea-code-editor@3.1.0
- π website: update website nav menu. 5ee5695 @jaywcjlove
- π fix(deps): update dependency rehype-prism-plus to v2 (#172) 8d15407 @renovate-bot
- π’ ci: update workflows config. c3d2efa @jaywcjlove
- π website: add example. 624e0f1 @jaywcjlove
- π feat: add optional indentWidth (#175) 30a6878 @l9c
v3.0.2
Documentation v3.0.2: https://raw.githack.com/uiwjs/react-textarea-code-editor/4428fb3/index.html
Comparing Changes: v3.0.2...v3.0.2
npm i @uiw/react-textarea-code-editor@
v3.0.1
Documentation v3.0.1: https://raw.githack.com/uiwjs/react-textarea-code-editor/e1e1ae9/index.html
Comparing Changes: v3.0.0...v3.0.1
npm i @uiw/react-textarea-code-editor@3.0.1
- π type: fix nohighlight component type error. 022189c @jaywcjlove
v3.0.0
Documentation v3.0.0: https://raw.githack.com/uiwjs/react-textarea-code-editor/fd37bcf/index.html
Comparing Changes: v2.1.9...v3.0.0
npm i @uiw/react-textarea-code-editor@3.0.0
- π fix(deps): update dependency @uiw/react-markdown-preview-example to v2 #169 84e9464 @jaywcjlove
- π chore: add sponsor badge. 6937660 @jaywcjlove
- π fix(deps): update dependency rehype to v13 (#162) 8d29326 @renovate-bot
- π type: fix type error. f3c67d7 @jaywcjlove
- π feat: add nohighlight component. 1dc83f5 @jaywcjlove
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 code highlighting package.rehype-prism-plus
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
Documentation v2.1.9: https://raw.githack.com/uiwjs/react-textarea-code-editor/4207e23/index.html
Comparing Changes: v2.1.8...v2.1.9
npm i @uiw/react-textarea-code-editor@2.1.9
- π’ ci: update workflows config. b3fda96 @jaywcjlove
v2.1.8
Documentation v2.1.8: https://raw.githack.com/uiwjs/react-textarea-code-editor/7276be9/index.html
Comparing Changes: v2.1.7...v2.1.8
npm i @uiw/react-textarea-code-editor@2.1.8
- π refactor: refactor code project folder & refactor the website. 5b37af8 @jaywcjlove
- π doc: Add README.md 1f03939 @jaywcjlove
- π website: update opensource url. 8af6311 @jaywcjlove
- π chore: update workflows config. 5ed78a2 @jaywcjlove
- π doc: Update README.md 79368bb @jaywcjlove
- π chore(deps): update dependency lint-staged to v14 (#160) 0d4e1a8 @renovate-bot
- π fix(deps): update dependency rehype-prism-plus to v1.6.3 (#139) d1985d9 @renovate-bot
- π’ ci: update workflows config. c08032b @jaywcjlove
- β test: fix test case issue. c726659 @jaywcjlove
- π’ ci: update workflows config. e4840b5 @jaywcjlove
v2.1.7
Documentation v2.1.7: https://raw.githack.com/uiwjs/react-textarea-code-editor/5547392/index.html
Comparing Changes: v2.1.6...v2.1.7
npm i @uiw/react-textarea-code-editor@2.1.7
- π doc: Update README.md e70199a @jaywcjlove
- π fix: fix
readOnly
props issue. (#152) 42d50b3 @jaywcjlove
v2.1.6
Documentation v2.1.6: https://raw.githack.com/uiwjs/react-textarea-code-editor/2aa7d93/index.html
Comparing Changes: v2.1.5...v2.1.6
npm i @uiw/react-textarea-code-editor@2.1.6
- π doc: Update README.md 7d7d5eb @jaywcjlove
v2.1.5
Documentation v2.1.5: https://raw.githack.com/uiwjs/react-textarea-code-editor/ef1b29a/index.html
Comparing Changes: v2.1.4...v2.1.5
npm i @uiw/react-textarea-code-editor@2.1.5
- π doc: add example in document. (#151) 4b608ce @jaywcjlove
v2.1.4
Documentation v2.1.4: https://raw.githack.com/uiwjs/react-textarea-code-editor/ce820a6/index.html
Comparing Changes: v2.1.3...v2.1.4
npm i @uiw/react-textarea-code-editor@2.1.4
- π fix: fix ref issue. 858c229 @jaywcjlove
- π chore: update workflows config. a120def @jaywcjlove