Every extension

italic

Mark in starterKit 0.08 kB gzipped

Parses em, i, [style: font-style] · renders em.

Adding it

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

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

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