Skip to content

Releases: uiwjs/react-codemirror

v4.0.0-rc.13

13 Sep 14:08
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.12...v4.0.0-rc.13

v4.0.0-rc.12

12 Sep 13:25
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.11...v4.0.0-rc.12

v4.0.0-rc.11

11 Sep 08:48
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.10...v4.0.0-rc.11

v4.0.0-rc.10

10 Sep 13:53
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.9...v4.0.0-rc.10

v4.0.0-rc.9

09 Sep 14:41
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.8...v4.0.0-rc.9

v4.0.0-rc.8

08 Sep 19:54
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.7...v4.0.0-rc.8

v4.0.0-rc.7

07 Sep 18:40
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.6...v4.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

07 Sep 11:07
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.5...v4.0.0-rc.6

  • 📖 doc: Update README.md dd7140b
  • 📖 doc: Update README.md ea6ac0e
  • 🌟 feat: add onUpdate props. 7e48152

v4.0.0-rc.5

07 Sep 07:54
Compare
Choose a tag to compare

npm bundle size

v4.0.0-rc.4...v4.0.0-rc.5

v4.0.0-rc.4

06 Sep 18:41
Compare
Choose a tag to compare

npm bundle size

⚠️ 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 })
+  ]}
/>

v3.2.1...v4.0.0-rc.4