Fix text-align extension url

This commit is contained in:
Ricardo Albear 2021-05-16 15:22:24 +01:00 committed by GitHub
parent 8169eef27c
commit a45758642c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -553,7 +553,7 @@ const CustomMark = Mark.create({
### Create an extension
Extensions add new capabilities to tiptap and youll read the word extension here very often, even for nodes and marks. But there are literal extensions. Those cant add to the schema (like marks and nodes do), but can add functionality or change the behaviour of the editor.
A good example to learn from is probably [`TextAlign`](/api/extension/text-align).
A good example to learn from is probably [`TextAlign`](/api/extensions/text-align).
```js
import { Extension } from '@tiptap/core'