Skip to content

Commit d48bb95

Browse files
authoredApr 21, 2023
doc: Fix broken theme editor link (#493)
1 parent e938690 commit d48bb95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎core/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CodeMirror component for React. Demo Preview: [@uiwjs.github.io/react-codemirror
2626
📚 Use Typescript to write, better code hints.
2727
🌐 The bundled version supports use directly in the browser [#267](https://github.com/uiwjs/react-codemirror/issues/267#issuecomment-1041227592).
2828
🌎 There are better [sample previews](https://uiwjs.github.io/react-codemirror).
29-
🎨 Support [theme](https://uiwjs.github.io/react-codemirror/#/theme/data/dracula) customization, provide theme [editor](https://uiwjs.github.io/react-codemirror/#/theme/editor).
29+
🎨 Support [theme](https://uiwjs.github.io/react-codemirror/#/theme/data/dracula) customization, provide theme [editor](https://uiwjs.github.io/react-codemirror/#/editor/theme).
3030

3131
## Install
3232

@@ -247,7 +247,7 @@ export default function App() {
247247

248248
## Using Theme
249249

250-
We have created a [`theme editor`](https://uiwjs.github.io/react-codemirror/#/theme/editor) where you can define your own theme. We have also defined [some themes](https://uiwjs.github.io/react-codemirror/#/theme/data/okaidia) ourselves, which can be installed and used directly. Below is a usage example:
250+
We have created a [`theme editor`](https://uiwjs.github.io/react-codemirror/#/editor/theme) where you can define your own theme. We have also defined [some themes](https://uiwjs.github.io/react-codemirror/#/theme/data/okaidia) ourselves, which can be installed and used directly. Below is a usage example:
251251

252252
```jsx
253253
import CodeMirror from '@uiw/react-codemirror';

0 commit comments

Comments
 (0)
Please sign in to comment.