ueberdosis/tiptap · error
[tiptap error]: "${cellType.name}" has no default content to
Error message
[tiptap error]: "${cellType.name}" has no default content to backfill. What it means
Error "[tiptap error]: "${cellType.name}" has no default content to backfill." thrown in ueberdosis/tiptap.
Source
Thrown at packages/extension-table/src/utils/fillEmptyCellContent.ts:21
// ASCII whitespace only, so a non-breaking-space cell is not treated as empty.
const COLLAPSIBLE_WHITESPACE = /[ \t\r\n\f]+/g
/** Whether a cell/header element has no child elements and only collapsible whitespace. */
export function isEmptyCellElement(element: HTMLElement): boolean {
if (element.children.length > 0) {
return false
}
return (element.textContent ?? '').replace(COLLAPSIBLE_WHITESPACE, '') === ''
}
/** Builds a cell/header's minimal `block+` content, derived from the node type. */
export function fillEmptyCellContent(cellType: NodeType): Fragment {
const filled = cellType.createAndFill()
if (!filled) {
throw new Error(`[tiptap error]: "${cellType.name}" has no default content to backfill.`)
}
return filled.content
}
View on GitHub (pinned to 496d53afd7)
When it happens
Trigger: Thrown at packages/extension-table/src/utils/fillEmptyCellContent.ts:21 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ueberdosis/tiptap@496d53afd7 (2026-08-26).
Data as JSON: /api/errors/69b55736b768a645.
Report an issue: GitHub.