docs: update content

This commit is contained in:
Philipp Kühn 2021-04-21 12:21:40 +02:00
parent c8a7735d05
commit 7eb45868ea
2 changed files with 22 additions and 2 deletions

View File

@ -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 itll 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 itll be rendered as `<a href="…"><strong>Example</strong></a>` instead of `<strong><a href="…">Example</></strong>`.
### 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:

View File

@ -319,6 +319,22 @@ code {
}
}
> ol,
> ul {
li {
> h1,
> h2,
> h3,
> h4,
> h5,
> h6 {
a {
display: none;
}
}
}
}
> .table-wrapper {
display: block;
width: 100%;