diff --git a/docs/src/docPages/api/commands.md b/docs/src/docPages/api/commands.md index 0103e3f0..439c8aaa 100644 --- a/docs/src/docPages/api/commands.md +++ b/docs/src/docPages/api/commands.md @@ -71,7 +71,7 @@ Both calls would return `true` if it’s possible to apply the commands, and `fa In order to make that work with your custom commands, don’t forget to return `true` or `false`. -For some of your own commands, you probably want to work with the raw [transaction](/api/overview). To make them work with `.can()` you should check if the transaction should be dispatched. Here is how we do that within `.insertText()`: +For some of your own commands, you probably want to work with the raw [transaction](/api/concept). To make them work with `.can()` you should check if the transaction should be dispatched. Here is how we do that within `.insertText()`: ```js export default (value: string): Command => ({ tr, dispatch }) => { diff --git a/docs/src/links.yaml b/docs/src/links.yaml index dbabf680..0c547d71 100644 --- a/docs/src/links.yaml +++ b/docs/src/links.yaml @@ -106,7 +106,7 @@ - title: API items: - title: Concept - link: /api/overview + link: /api/concept - title: Editor link: /api/editor - title: Commands diff --git a/docs/static/_redirects b/docs/static/_redirects index 1138e57d..b66aa4ea 100644 --- a/docs/static/_redirects +++ b/docs/static/_redirects @@ -1,4 +1,4 @@ /overview / /examples /examples/basic /guide /guide/get-started -/api /api/overview +/api /api/concept