# Heading Heading nodes with a toolbar selector for levels 1–3. ## Installation ```bash npx shadcn@latest add litingyes/blocove/rich-text-editor-heading ``` > Typography requires [shadcn/typeset](https://ui.shadcn.com/docs/typeset). Copy `typeset.css` next to your main stylesheet, import it after Tailwind and add the `.typeset-docs` preset. ## API Reference ### EditorHeading Registers the heading node. The toolbar selector only offers the levels registered here. | Prop | Type | Default | | --- | --- | --- | | `levels` | `Level[]` | `[1, 2, 3]` | ### EditorHeadingToolbar Block type selector for paragraphs and the registered heading levels. | Prop | Type | Default | | --- | --- | --- | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/rich-text-editor` - `litingyes/blocove/rich-text-editor-extension` - `select` Namespace: `npx shadcn@latest add @blocove/rich-text-editor-heading`