Releases: uiwjs/react-codemirror
Releases · uiwjs/react-codemirror
v4.0.0-rc.8
v4.0.0-rc.7
npm i @uiw/react-codemirror@4.0.0-rc.7
- 📖 doc: Update README.md febb885
- 💄 chore: add prettier. 9da36cc
- 💄 chore: format code. 4aef3a6
- 🐞 fix: Fix theme default value issue. d4f771a
- 💄 chore: update .gitignore 0663798
- 💄 chore: update .prettierignore d559c3a
- ⛑ test: Add test case. 07598be
- 💄 chore: update github/workflows/ci.yml ff511d3
- 💄 chore: update .github/workflows/ci.yml deb687b
- 💄 chore(deps): update dependency tsbb to v3.1.1 ce7fda9
- 📖 doc: Update README.md f5eca63
v4.0.0-rc.6
npm i @uiw/react-codemirror@4.0.0-rc.6
v4.0.0-rc.5
v4.0.0-rc.4
⚠️ 3.0 cannot be upgraded to 4.0+
import CodeMirror from '@uiw/react-codemirror';
- import 'codemirror/mode/javascript/javascript';
+ import { javascript } from "@codemirror/lang-javascript";
const code = 'console.log("hello world!");';
<CodeMirror
value={code}
- options={{
- mode: 'js',
- }}
+ extensions={[
+ javascript({ jsx: true })
+ ]}
/>
npm i @uiw/react-codemirror@4.0.0-rc.4
v3.2.1
npm i @uiw/react-codemirror@3.2.1
- 🐞 fix(deps): update dependency codemirror to v5.62.3 (#134) d86b8cf @renovate[bot]
- 💄 chore: update .gitignore 06d68ca
- 🐞 fix: Update files field in package.json f0032bb
- 💄 chore: src/index.jsx -> src/index.js f1f85af
Change the package directory.
├── esm
├── lib
├── src
└── typings
v3.1.0
npm i @uiw/react-codemirror@3.1.0
- 💄 chore: Udpate workflows config. c60f93f
- 🌟 feat: Add prop to optionally disable lazy loading language modes (#132) fb5526f @nickgirardo
- 💄 chore: update workflows config. e0a4a69
v3.0.15
npm i @uiw/react-codemirror@3.0.15
v3.0.14
npm i @uiw/react-codemirror@3.0.14
v3.0.13
npm i @uiw/react-codemirror@3.0.13