{"record":{"id":"f017f1ca9cd7f619","repo":"ueberdosis/tiptap","slug":"renderlabel-is-deprecated-use-rendertext-and-rende","errorCode":null,"errorMessage":"renderLabel is deprecated use renderText and renderHTML instead","messagePattern":"renderLabel is deprecated use renderText and renderHTML instead","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/extension-mention/src/mention.ts","lineNumber":244,"sourceCode":"          }\n        },\n      },\n    }\n  },\n\n  parseHTML() {\n    return [\n      {\n        tag: `span[data-type=\"${this.name}\"]`,\n      },\n    ]\n  },\n\n  renderHTML({ node, HTMLAttributes }) {\n    const suggestion = getSuggestionFromChar(this, node.attrs.mentionSuggestionChar)\n\n    if (this.options.renderLabel !== undefined) {\n      console.warn('renderLabel is deprecated use renderText and renderHTML instead')\n      return [\n        'span',\n        mergeAttributes({ 'data-type': this.name }, this.options.HTMLAttributes, HTMLAttributes),\n        this.options.renderLabel({\n          options: this.options,\n          node,\n          suggestion,\n        }),\n      ]\n    }\n    const mergedOptions = { ...this.options }\n\n    mergedOptions.HTMLAttributes = mergeAttributes(\n      { 'data-type': this.name },\n      this.options.HTMLAttributes,\n      HTMLAttributes,\n    )\n","sourceCodeStart":226,"sourceCodeEnd":262,"githubUrl":"https://github.com/ueberdosis/tiptap/blob/496d53afd7e4e3c7424b4749adeff4f45e27ddb0/packages/extension-mention/src/mention.ts#L226-L262","documentation":"Error \"renderLabel is deprecated use renderText and renderHTML instead\" thrown in ueberdosis/tiptap.","triggerScenarios":"Thrown at packages/extension-mention/src/mention.ts:244 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"496d53afd7e4e3c7424b4749adeff4f45e27ddb0","analyzedAt":"2026-08-26T22:41:43.400Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}