docs: update content
This commit is contained in:
@@ -50,9 +50,13 @@ const CustomLink = Link.extend({
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
The order in which extensions are loaded influences a few things.
|
The order in which extensions are loaded influences two things:
|
||||||
|
|
||||||
For example the output. The [`Link`](/api/marks/link) mark has a higher priority, which means it’ll be rendered as `<a href="…"><strong>Example</strong></a>` instead of `<strong><a href="…">Example</></strong>`.
|
1. #### Plugin order
|
||||||
|
Plugins of extensions with a higher priority will run first.
|
||||||
|
|
||||||
|
2. #### Schema order
|
||||||
|
The [`Link`](/api/marks/link) mark for example has a higher priority, which means it’ll be rendered as `<a href="…"><strong>Example</strong></a>` instead of `<strong><a href="…">Example</></strong>`.
|
||||||
|
|
||||||
### Settings
|
### Settings
|
||||||
All settings can be configured through the extension anyway, but if you want to change the default settings, for example to provide a library on top of tiptap for other developers, you can do it like that:
|
All settings can be configured through the extension anyway, but if you want to change the default settings, for example to provide a library on top of tiptap for other developers, you can do it like that:
|
||||||
|
|||||||
@@ -319,6 +319,22 @@ code {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> ol,
|
||||||
|
> ul {
|
||||||
|
li {
|
||||||
|
> h1,
|
||||||
|
> h2,
|
||||||
|
> h3,
|
||||||
|
> h4,
|
||||||
|
> h5,
|
||||||
|
> h6 {
|
||||||
|
a {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> .table-wrapper {
|
> .table-wrapper {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user