Skip to content

Commit

Permalink
doc: modify repo url.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 7, 2023
1 parent 9a6eee3 commit c69926f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
13 changes: 6 additions & 7 deletions core/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
react-monacoeditor
===

[![CI](https://github.com/jaywcjlove/react-monacoeditor/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/react-monacoeditor/actions/workflows/ci.yml)
[![CI](https://github.com/uiwjs/react-monacoeditor/actions/workflows/ci.yml/badge.svg)](https://github.com/uiwjs/react-monacoeditor/actions/workflows/ci.yml)
[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/@uiw/react-monacoeditor/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@uiw/react-monacoeditor)
[![Downloads](https://img.shields.io/npm/dm/@uiw/react-monacoeditor.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-monacoeditor)
[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-monacoeditor/file/README.md)
[![npm version](https://img.shields.io/npm/v/@uiw/react-monacoeditor.svg)](https://www.npmjs.com/package/@uiw/react-monacoeditor)

[Monaco Editor](https://github.com/Microsoft/monaco-editor) component for React. demo @[jaywcjlove.github.io/react-monacoeditor/](https://jaywcjlove.github.io/react-monacoeditor/)
[Monaco Editor](https://github.com/Microsoft/monaco-editor) component for React. demo @[uiwjs.github.io/react-monacoeditor/](https://uiwjs.github.io/react-monacoeditor/)

<!--rehype:ignore:start-->
<a href="https://jaywcjlove.github.io/react-monacoeditor/"><img src="https://raw.githubusercontent.com/jaywcjlove/react-monacoeditor/master/react-monacoeditor.png" /></a>
<a href="https://uiwjs.github.io/react-monacoeditor/"><img src="https://raw.githubusercontent.com/jaywcjlove/react-monacoeditor/master/react-monacoeditor.png" /></a>

<!--rehype:ignore:end-->
<!--dividing-->
Expand Down Expand Up @@ -158,7 +158,7 @@ Otherwise, it behaves in uncontrolled mode.
- `options` refer to [Monaco interface IEditorConstructionOptions](https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IEditorConstructionOptions.html).
- `editorDidMount(editor, monaco)` an event emitted when the editor has been mounted (similar to `componentDidMount` of React).
- `onChange(newValue, event)` an event emitted when the content of the current model has changed.
- `autoComplete?: (model: monaco.editor.ITextModel, position: monaco.Position) => languages.CompletionItem[];` User provided extension function provider for auto-complete. [#47](https://github.com/jaywcjlove/react-monacoeditor/pull/47)
- `autoComplete?: (model: monaco.editor.ITextModel, position: monaco.Position) => languages.CompletionItem[];` User provided extension function provider for auto-complete. [#47](https://github.com/uiwjs/react-monacoeditor/pull/47)

## Events & Methods

Expand All @@ -168,7 +168,6 @@ Refer to [Monaco interface IEditor](https://microsoft.github.io/monaco-editor/ap

- [@uiw/react-textarea-code-editor](https://github.com/uiwjs/react-textarea-code-editor): A simple code editor with syntax highlighting.
- [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror): CodeMirror component for React. @codemirror
- [@uiw/react-monacoeditor](https://github.com/jaywcjlove/react-monacoeditor): Monaco Editor component for React.
- [@uiw/react-markdown-editor](https://github.com/uiwjs/react-markdown-editor): A markdown editor with preview, implemented with React.js and TypeScript.
- [@uiw/react-md-editor](https://github.com/uiwjs/react-md-editor): A simple markdown editor with preview, implemented with React.js and TypeScript.
- [@uiw/react-markdown-preview](https://github.com/uiwjs/react-markdown-preview): React component preview markdown text in web browser.
Expand All @@ -178,8 +177,8 @@ Refer to [Monaco interface IEditor](https://microsoft.github.io/monaco-editor/ap

As always, thanks to our amazing contributors!

<a href="https://github.com/jaywcjlove/react-monacoeditor/graphs/contributors">
<img src="https://jaywcjlove.github.io/react-monacoeditor/CONTRIBUTORS.svg" />
<a href="https://github.com/uiwjs/react-monacoeditor/graphs/contributors">
<img src="https://uiwjs.github.io/react-monacoeditor/CONTRIBUTORS.svg" />
</a>

Made with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).
Expand Down
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@uiw/react-monacoeditor",
"version": "3.5.9",
"description": "Monaco Editor component for React.",
"homepage": "https://jaywcjlove.github.io/react-monacoeditor/",
"homepage": "https://uiwjs.github.io/react-monacoeditor/",
"main": "lib/index.js",
"module": "esm/index.js",
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/react-monacoeditor.git"
"url": "https://github.com/uiwjs/react-monacoeditor.git"
},
"keywords": [
"react-monacoeditor",
Expand Down
2 changes: 1 addition & 1 deletion www/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Example() {
const [mode, setMode] = useState('javascript');
const [hyperlink] = useState<Record<'href' | 'label', string>[]>([
{
href: 'https://github.com/jaywcjlove/react-monacoeditor',
href: 'https://github.com/uiwjs/react-monacoeditor',
label: 'View on GitHub',
},
{
Expand Down
2 changes: 1 addition & 1 deletion www/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ root.render(
}
}}
>
<Github href="https://github.com/jaywcjlove/react-monacoeditor" />
<Github href="https://github.com/uiwjs/react-monacoeditor" />
<Example>
<App />
</Example>
Expand Down

0 comments on commit c69926f

Please sign in to comment.