{"record":{"id":"941e126d7c3f8236","repo":"ueberdosis/tiptap","slug":"tiptap-error-unsupported-domoutputspec-type-ch-941e12","errorCode":null,"errorMessage":"[tiptap error]: Unsupported DomOutputSpec type, check the `renderHTML` method output or implement a node mapping","messagePattern":"\\[tiptap error\\]: Unsupported DomOutputSpec type, check the `renderHTML` method output or implement a node mapping","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/static-renderer/src/pm/react/react.ts","lineNumber":149,"sourceCode":"      }\n      if (children === 0) {\n        return child =>\n          React.createElement(tag, mapAttrsToHTMLAttributes(attrs, key.toString()), child)\n      }\n\n      return child =>\n        React.createElement(\n          tag,\n          mapAttrsToHTMLAttributes(attrs, key.toString()),\n          [children]\n            .concat(rest)\n            .map(outputSpec => domOutputSpecToReactElement(outputSpec, key++)(child)),\n        )\n    }\n  }\n\n  // TODO support DOM elements? How to handle them?\n  throw new Error(\n    '[tiptap error]: Unsupported DomOutputSpec type, check the `renderHTML` method output or implement a node mapping',\n    {\n      cause: content,\n    },\n  )\n}\n\n/**\n * This function will statically render a Prosemirror Node to a React component using the given extensions.\n *\n * Limitations: see `renderToHTMLString` — extensions that mutate the document\n * via plugins/onCreate (UniqueID, TableOfContents) need to be pre-processed.\n *\n * @param content The content to render to a React component\n * @param extensions The extensions to use for rendering\n * @param staticEditorOptions Optional editor-level options that affect rendered output — mirrors a subset of `EditorOptions`.\n * @param options The options to use for rendering\n * @returns The React element that represents the rendered content","sourceCodeStart":131,"sourceCodeEnd":167,"githubUrl":"https://github.com/ueberdosis/tiptap/blob/496d53afd7e4e3c7424b4749adeff4f45e27ddb0/packages/static-renderer/src/pm/react/react.ts#L131-L167","documentation":"Error \"[tiptap error]: Unsupported DomOutputSpec type, check the `renderHTML` method output or implement a node mapping\" thrown in ueberdosis/tiptap.","triggerScenarios":"Thrown at packages/static-renderer/src/pm/react/react.ts:149 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"}