ueberdosis/tiptap · error
renderLabel is deprecated use renderText and renderHTML inst
Error message
renderLabel is deprecated use renderText and renderHTML instead
What it means
Error "renderLabel is deprecated use renderText and renderHTML instead" thrown in ueberdosis/tiptap.
Source
Thrown at packages/extension-mention/src/mention.ts:244
}
},
},
}
},
parseHTML() {
return [
{
tag: `span[data-type="${this.name}"]`,
},
]
},
renderHTML({ node, HTMLAttributes }) {
const suggestion = getSuggestionFromChar(this, node.attrs.mentionSuggestionChar)
if (this.options.renderLabel !== undefined) {
console.warn('renderLabel is deprecated use renderText and renderHTML instead')
return [
'span',
mergeAttributes({ 'data-type': this.name }, this.options.HTMLAttributes, HTMLAttributes),
this.options.renderLabel({
options: this.options,
node,
suggestion,
}),
]
}
const mergedOptions = { ...this.options }
mergedOptions.HTMLAttributes = mergeAttributes(
{ 'data-type': this.name },
this.options.HTMLAttributes,
HTMLAttributes,
)
View on GitHub (pinned to 496d53afd7)
When it happens
Trigger: Thrown at packages/extension-mention/src/mention.ts:244 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/f017f1ca9cd7f619.
Report an issue: GitHub.