2021-10-14 06:13:50 +08:00
---
description: No text editor without text, so better make sure to install that one.
2021-10-15 03:20:21 +08:00
icon: text
2021-10-14 06:13:50 +08:00
---
2020-09-02 21:20:35 +08:00
# Text
2021-01-25 17:35:52 +08:00
[![Version ](https://img.shields.io/npm/v/@tiptap/extension-text.svg?label=version )](https://www.npmjs.com/package/@tiptap/extension-text)
[![Downloads ](https://img.shields.io/npm/dm/@tiptap/extension-text.svg )](https://npmcharts.com/compare/@tiptap/extension-text?minimal=true)
2020-09-15 23:05:32 +08:00
**The `Text` extension is required**, at least if you want to work with text of any kind and that’ s very likely. This extension is a little bit different, it doesn’ t even render HTML. It’ s plain text, that’ s all.
:::warning Breaking Change from 1.x → 2.x
2021-05-07 00:41:22 +08:00
tiptap 1 tried to hide that node from you, but it has always been there. You have to explicitly import it from now on (or use `StarterKit` ).
2020-09-15 23:05:32 +08:00
:::
2020-09-23 15:52:04 +08:00
## Installation
```bash
2020-10-30 21:24:16 +08:00
# with npm
2020-09-23 15:52:04 +08:00
npm install @tiptap/extension -text
2020-10-30 21:24:16 +08:00
# with Yarn
2020-09-23 15:52:04 +08:00
yarn add @tiptap/extension -text
```
2020-09-21 22:59:28 +08:00
## Source code
2021-04-21 21:31:11 +08:00
[packages/extension-text/ ](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-text/ )
2020-09-15 23:05:32 +08:00
## Usage
2021-10-19 00:01:47 +08:00
https://embed.tiptap.dev/preview/Nodes/Text