fix broken links
This commit is contained in:
@@ -91,7 +91,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/concept). To make them work with `.can()` you should check if the transaction should be dispatched. Here is how you can create a simple `.insertText()` command:
|
||||
For some of your own commands, you probably want to work with the raw [transaction](/api/introduction). To make them work with `.can()` you should check if the transaction should be dispatched. Here is how you can create a simple `.insertText()` command:
|
||||
|
||||
```js
|
||||
export default (value) => ({ tr, dispatch }) => {
|
||||
|
||||
Reference in New Issue
Block a user