> ## 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.

# Text

> The basic text node for inline content in your editor.

The Text extension represents inline text content. It's the most fundamental inline node and is required for any editor that displays text.

## Installation

<CodeGroup>
  ```bash npm theme={null}
  npm install @tiptap/extension-text
  ```

  ```bash yarn theme={null}
  yarn add @tiptap/extension-text
  ```

  ```bash pnpm theme={null}
  pnpm add @tiptap/extension-text
  ```
</CodeGroup>

## Usage

The Text extension is included in the StarterKit by default:

```typescript theme={null}
import { Editor } from '@tiptap/core'
import StarterKit from '@tiptap/starter-kit'

const editor = new Editor({
  extensions: [StarterKit],
})
```

To use it standalone:

```typescript theme={null}
import { Editor } from '@tiptap/core'
import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'

const editor = new Editor({
  extensions: [
    Document,
    Paragraph,
    Text,
  ],
})
```

## Configuration

The Text extension has no configuration options. It's automatically used within block-level nodes that accept inline content.

## Schema

The Text node has the following properties:

* **Name**: `text`
* **Group**: `inline`
* **Content**: Plain text content

## Source Code

View the source code on GitHub:

[packages/extension-text/src/text.ts](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text/src/text.ts)
