docs: move youtube documentation to nodes

This commit is contained in:
svenadlung
2022-07-06 13:20:33 +02:00
parent 9e843539e0
commit 599b8cc014
11 changed files with 9 additions and 9 deletions

View File

@@ -30,6 +30,7 @@ If you think of the document as a tree, then nodes are just a type of content in
| [TaskList](/api/nodes/task-list) | | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-task-list/) |
| [TaskItem](/api/nodes/task-item) | | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-task-item/) |
| [Text](/api/nodes/text) | Included | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text/) |
| [YouTube](/api/nodes/youtube) | Included | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text/) |
## Create a new node
Youre free to create your own nodes for Tiptap. Here is the boilerplate code thats need to create and register your own node: