Releases: uiwjs/react-codemirror
Releases · uiwjs/react-codemirror
v4.0.0-rc.13
npm i @uiw/[email protected]
- 🐞 fix(deps): update dependency @codemirror/view to v0.19.7 (#161) 6f09bdd @renovate[bot]
- 🐞 fix(deps): update dependency @codemirror/state to v0.19.2 (#160) 5530326 @renovate[bot]
- 💄 chore(deps): update dependency jest to v27.2.0 (#159) 9a11f00 @renovate[bot]
- 💄 chore(deps): update dependency tsbb to v3.2.0 (#158) 5a32b30 @renovate[bot]
v4.0.0-rc.12
npm i @uiw/[email protected]
v4.0.0-rc.11
npm i @uiw/[email protected]
v4.0.0-rc.10
npm i @uiw/[email protected]
v4.0.0-rc.9
npm i @uiw/[email protected]
- 🐞 fix(deps): update dependency @codemirror/view to v0.19.5 (#153) 0efc103 @renovate[bot]
- 💄 chore(deps): update dependency prettier to v2.4.0 (#151) 310fc9f @renovate[bot]
- 💄 chore(deps): update dependency @uiw/react-markdown-preview to v3.3.1 (#148) 8b23c29 @renovate[bot]
- 💄 chore(deps): update dependency @uiw/react-github-corners to v1.5.3 (#152) e136b1e @renovate[bot]
- 💄 chore(deps): update dependency @uiw/react-shields to v1.1.2 (#150) 746a5b2 @renovate[bot]
- 💄 chore(deps): update dependency tsbb to v3.1.5 (#149) f140be8 @renovate[bot]
- 🌍 website: fix shields errors d70d96e
v4.0.0-rc.8
npm i @uiw/[email protected]
v4.0.0-rc.7
npm i @uiw/[email protected]
- 📖 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/[email protected]
v4.0.0-rc.5
npm i @uiw/[email protected]
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/[email protected]