Every extension

horizontalRule

Node in starterKit 0.07 kB gzipped

Parses hr · renders hr.

Adding it

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

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

There is no separate package · horizontalRule 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

HTML

← All 81 extensions

Edit this page on GitHub