Every extension

heading

Node in starterKit 0 kB gzipped

Parses h1, h2, h3, h4, h5, h6 · renders h1.

Adding it

import { createEditor, document, paragraph, text, heading } from '@matrajs/core'

const editor = createEditor({
  extensions: [document, paragraph, text, heading],
  element: document.querySelector('#editor'),
})

There is no separate package · heading is already in @matrajs/core, and an extension you do not import is not in your bundle. document, paragraph and text are the floor every document needs.

Commands

Keys

Attributes

HTML

← All 81 extensions

Edit this page on GitHub