Every extension

detailsSummary

Node in detailsKit 0.03 kB gzipped

The title line of a toggle.

Adding it

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

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

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

HTML

← All 81 extensions

Edit this page on GitHub