diff --git a/docs/src/docPages/guide/extend-extensions.md b/docs/src/docPages/guide/extend-extensions.md index b3f90458..e91ae4a3 100644 --- a/docs/src/docPages/guide/extend-extensions.md +++ b/docs/src/docPages/guide/extend-extensions.md @@ -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 `Example` instead of `Example`. +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 `Example` instead of `Example`. ### 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: diff --git a/docs/src/layouts/App/base.scss b/docs/src/layouts/App/base.scss index 56883a73..6c312a53 100644 --- a/docs/src/layouts/App/base.scss +++ b/docs/src/layouts/App/base.scss @@ -319,6 +319,22 @@ code { } } + > ol, + > ul { + li { + > h1, + > h2, + > h3, + > h4, + > h5, + > h6 { + a { + display: none; + } + } + } + } + > .table-wrapper { display: block; width: 100%;