docs: move youtube documentation to nodes
This commit is contained in:
@@ -28,7 +28,6 @@ There are also some extensions with more capabilities. We call them [nodes](/api
|
||||
| [TextAlign](/api/extensions/text-align) | – | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text-align/) |
|
||||
| [UniqueID](/api/extensions/unique-id) | – | Requires a Tiptap Pro subscription |
|
||||
| [Typography](/api/extensions/typography) | – | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-typography/) |
|
||||
| [YouTube](/api/extensions/youtube) | – | [GitHub](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-youtube/) |
|
||||
|
||||
You don’t have to use it, but we prepared a `@tiptap/starter-kit` which includes the most common extensions. Read more about [`StarterKit`](/guide/configuration#default-extensions).
|
||||
|
||||
|
||||
@@ -109,4 +109,4 @@ editor.commands.setYoutubeVideo({
|
||||
[packages/extension-youtube/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-youtube/)
|
||||
|
||||
## Usage
|
||||
https://embed.tiptap.dev/preview/Extensions/YouTube
|
||||
https://embed.tiptap.dev/preview/Nodes/YouTube
|
||||
|
||||
@@ -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
|
||||
You’re free to create your own nodes for Tiptap. Here is the boilerplate code that’s need to create and register your own node:
|
||||
|
||||
Reference in New Issue
Block a user