docs: update links to api concept, fix #121

This commit is contained in:
Hans Pagel
2021-01-29 15:16:52 +01:00
parent 56c47d7340
commit 416225174a
3 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ Both calls would return `true` if its possible to apply the commands, and `fa
In order to make that work with your custom commands, dont 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 }) => {

View File

@@ -106,7 +106,7 @@
- title: API
items:
- title: Concept
link: /api/overview
link: /api/concept
- title: Editor
link: /api/editor
- title: Commands

View File

@@ -1,4 +1,4 @@
/overview /
/examples /examples/basic
/guide /guide/get-started
/api /api/overview
/api /api/concept