Skip to content

Releases: uiwjs/react-codemirror

v4.10.4

02 Jul 18:04

Choose a tag to compare

Documentation v4.10.4: https://raw.githack.com/uiwjs/react-codemirror/b58605d/index.html
Comparing Changes: v4.10.3...v4.10.4

v4.10.3

02 Jul 04:09

Choose a tag to compare

Documentation v4.10.3: https://raw.githack.com/uiwjs/react-codemirror/efc6d88/index.html
Comparing Changes: v4.10.2...v4.10.3

v4.10.2

02 Jul 02:10

Choose a tag to compare

Documentation v4.10.2: https://raw.githack.com/uiwjs/react-codemirror/84f7c0c/index.html
Comparing Changes: v4.10.1...v4.10.2

v4.10.1

02 Jul 01:36

Choose a tag to compare

Documentation v4.10.1: https://raw.githack.com/uiwjs/react-codemirror/2619fc6/index.html
Comparing Changes: v4.10.0...v4.10.1

  • 🐞 fix: add onStatistics result length/lineBreak/readOnly/tabSize. d2d2aa4 @jaywcjlove

v4.10.0

01 Jul 18:06

Choose a tag to compare

Documentation v4.10.0: https://raw.githack.com/uiwjs/react-codemirror/8b221c9/index.html
Comparing Changes: v4.9.6...v4.10.0

v4.9.6

01 Jul 14:51

Choose a tag to compare

Documentation v4.9.6: https://raw.githack.com/uiwjs/react-codemirror/9a0a1b1/index.html
Comparing Changes: v4.9.5...v4.9.6

v4.9.5

30 Jun 01:43

Choose a tag to compare

Documentation v4.9.5: https://raw.githack.com/uiwjs/react-codemirror/a41e227/index.html
Comparing Changes: v4.9.4...v4.9.5

v4.9.4

21 Jun 16:59

Choose a tag to compare

Documentation v4.9.4: https://raw.githack.com/uiwjs/react-codemirror/559dda5/index.html
Comparing Changes: v4.9.3...v4.9.4

v4.9.3

20 Jun 21:29

Choose a tag to compare

Documentation v4.9.3: https://raw.githack.com/uiwjs/react-codemirror/d2da2ed/index.html
Comparing Changes: v4.9.2...v4.9.3

v4.9.2

20 Jun 03:56

Choose a tag to compare

Documentation v4.9.2: https://raw.githack.com/uiwjs/react-codemirror/8a2422f/index.html
Comparing Changes: v4.9.1...v4.9.2

import { createTheme } from '@uiw/codemirror-themes';
import { tags as t } from '@lezer/highlight';

const myTheme = createTheme({
-  dark: 'light',
+  theme: 'light',
  settings: {
    background: '#ffffff',
    foreground: '#75baff',
    caret: '#5d00ff',
    selection: '#036dd626',
    lineHighlight: '#8a91991a',
    gutterBackground: '#fff',
    gutterForeground: '#8a919966',
  },
  styles: [
    { tag: t.comment, color: '#787b8099' },
    { tag: t.variableName, color: '#0080ff' },
    { tag: t.attributeName, color: '#5c6166' },
  ],
});