Every extension

strike

Mark in starterKit 0.08 kB gzipped

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

Adding it

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

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

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