Files
tiptap/docs/src/docPages/api/extensions/text.md
2020-09-23 12:03:03 +02:00

731 B
Raw Blame History

Text

The Text extension is required, at least if you want to work with text of any kind and thats very likely. This extension is a little bit different, it doesnt even render HTML. Its plain text, thats all.

:::warning Breaking Change from 1.x → 2.x 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 defaultExtensions()). :::

Installation

# With npm
npm install @tiptap/extension-text

# Or: With Yarn
yarn add @tiptap/extension-text

Source code

packages/extension-text/

Usage