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