Every extension
tableCell
Parses td · renders td.
Adding it
import { createEditor, document, paragraph, text, tableCell } from '@matrajs/core'
const editor = createEditor({
extensions: [document, paragraph, text, tableCell],
element: document.querySelector('#editor'),
})
There is no separate package · tableCell 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.
Attributes
-
colspan· defaults to1 -
rowspan· defaults to1 -
colwidth
HTML
-
Parses
td -
Renders
td