{"record":{"id":"465856b8444504f6","repo":"ueberdosis/tiptap","slug":"tiptap-error-mark-extension-name-cannot-be-r","errorCode":null,"errorMessage":"[tiptap error]: Mark ${extension.name} cannot be rendered, it's \"renderToHTML\" method threw an error: ${(e as Error).message}","messagePattern":"\\[tiptap error\\]: Mark (.+?) cannot be rendered, it's \"renderToHTML\" method threw an error: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/static-renderer/src/pm/extensionRenderer.ts","lineNumber":174,"sourceCode":"        throw new Error(\n          `Node ${extension.name} cannot be rendered, it is missing a \"renderToHTML\" method`,\n        )\n      },\n    ]\n  }\n\n  return [\n    extension.name,\n    ({ mark, children }) => {\n      try {\n        return domOutputSpecToElement(\n          renderToHTML({\n            mark,\n            HTMLAttributes: getHTMLAttributes(mark, extensionAttributes),\n          }),\n        )(children)\n      } catch (e) {\n        throw new Error(\n          `[tiptap error]: Mark ${\n            extension.name\n          } cannot be rendered, it's \"renderToHTML\" method threw an error: ${(e as Error).message}`,\n          { cause: e },\n        )\n      }\n    },\n  ]\n}\n\n// Placeholder node/mark types injected into a copy of the schema so JSON that\n// references types missing from the user's schema can still be converted by\n// `Node.fromJSON`. The original type/attrs are carried on the placeholder and\n// restored when it reaches `unhandledNode`/`unhandledMark`.\nconst UNHANDLED_NODE_TYPE = '__tiptapUnhandledNode__'\nconst UNHANDLED_MARK_TYPE = '__tiptapUnhandledMark__'\nconst ORIGINAL_TYPE_ATTR = '__originalType'\nconst ORIGINAL_ATTRS_ATTR = '__originalAttrs'","sourceCodeStart":156,"sourceCodeEnd":192,"githubUrl":"https://github.com/ueberdosis/tiptap/blob/496d53afd7e4e3c7424b4749adeff4f45e27ddb0/packages/static-renderer/src/pm/extensionRenderer.ts#L156-L192","documentation":"Error \"[tiptap error]: Mark ${extension.name} cannot be rendered, it's \"renderToHTML\" method threw an error: ${(e as Error).message}\" thrown in ueberdosis/tiptap.","triggerScenarios":"Thrown at packages/static-renderer/src/pm/extensionRenderer.ts:174 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"}