Every extension
column
One column of a column list. Holds blocks, so a column can carry a list, a table or an image rather than only text.
Adding it
import { createEditor, document, paragraph, text, column } from '@matrajs/core'
const editor = createEditor({
extensions: [document, paragraph, text, column],
element: document.querySelector('#editor'),
})
There is no separate package · column 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
-
Parses
div[data-column] -
Renders
div