Every extension

underline

Mark 0.07 kB gzipped

Parses u, [style: text-decoration] · renders u.

Adding it

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

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

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

HTML

← All 81 extensions

Edit this page on GitHub