---
description: Document

next:
  text: FontFamily
  link: /extensions/FontFamily/index.md
---

# Document

The Document extension allows you to add a document to your editor.

- Based on TipTap's document extension. [@tiptap/extension-document](https://tiptap.dev/docs/editor/extensions/nodes/document)

## Usage

```tsx
import { Document } from 'reactjs-tiptap-editor'; // [!code ++]

const extensions = [
  ...,
  // Import Extensions Here
  Document // [!code ++]
];
```
