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

Installation

Usage

The Text extension is included in the StarterKit by default:
To use it standalone:

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