Every extension
bulletList
Parses ul · renders ul.
Adding it
import { createEditor, document, paragraph, text, bulletList } from '@matrajs/core'
const editor = createEditor({
extensions: [document, paragraph, text, bulletList],
element: document.querySelector('#editor'),
})
There is no separate package · bulletList 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
-
editor.commands.toggleBulletList()
Keys
- Mod-Shift-8 ·
toggleBulletList
HTML
-
Parses
ul -
Renders
ul