The Document extension provides the root node of your editor. Every Tiptap editor requires a document node as the top-level container for all other content.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ueberdosis/tiptap/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Usage
The Document extension is included in the StarterKit by default. If you’re building a custom editor, you’ll need to register it:Configuration
The Document extension has no configuration options. It serves as the root container and requires at least one block-level node as content.Schema
The Document node has the following properties:- Name:
doc - Content:
block+(one or more block-level nodes) - Top Node:
true(this is the root node)