a few minor improvements to the content

This commit is contained in:
Hans Pagel
2020-09-24 15:58:40 +02:00
parent 299ca72f3e
commit 2848b814b6
4 changed files with 18 additions and 33 deletions

View File

@@ -25,22 +25,3 @@ Note that `Document`, `Paragraph` and `Text` are required. Otherwise you wont
<demo name="Guide/BuildYourEditor" highlight="10-13,30-33" />
Thats also the place where you can register custom extensions, which you or someone else built for tiptap.
### Related links
* [List of available commands](/api/commands)
* [List of available extensions](/api/extensions)
* Build custom extensions
## Difference between nodes and marks
tiptap used a JSON schema under the hood. Every part of the text is stored as a specific type. There is a `Document` type (its needed, but invisible  like the `<body>` in HTML).
*Nodes* are like blocks of content, for example a paragraph or a headline. Yes, this paragraph is a node.
*Marks* can apply a different style to parts of text inside a node. A good example is **bold text**. Thats a mark. *Italic*, `inline code` or [links](#) are marks too.
### Related links
* [Learn more about the schema](/api/schema)
* [List of available extensions](/api/extensions)