{"record":{"id":"feb11714210521f4","repo":"ueberdosis/tiptap","slug":"please-use-the-nodeviewwrapper-component-for-your-feb117","errorCode":null,"errorMessage":"Please use the NodeViewWrapper component for your node view.","messagePattern":"Please use the NodeViewWrapper component for your node view\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/react/src/ReactNodeViewRenderer.tsx","lineNumber":250,"sourceCode":"      as,\n      className: `node-${this.node.type.name} ${className}`.trim(),\n    })\n\n    this.editor.on('selectionUpdate', this.handleSelectionUpdate)\n    this.updateElementAttributes()\n    this.currentPos = this.getPos()\n  }\n\n  /**\n   * Return the DOM element.\n   * This is the element that will be used to display the node view.\n   */\n  get dom() {\n    if (\n      this.renderer.element.firstElementChild &&\n      !this.renderer.element.firstElementChild?.hasAttribute('data-node-view-wrapper')\n    ) {\n      throw Error('Please use the NodeViewWrapper component for your node view.')\n    }\n\n    return this.renderer.element\n  }\n\n  /**\n   * Return the content DOM element.\n   * This is the element that will be used to display the rich-text content of the node.\n   */\n  get contentDOM() {\n    if (this.node.isLeaf) {\n      return null\n    }\n\n    return this.contentDOMElement\n  }\n\n  /**","sourceCodeStart":232,"sourceCodeEnd":268,"githubUrl":"https://github.com/ueberdosis/tiptap/blob/496d53afd7e4e3c7424b4749adeff4f45e27ddb0/packages/react/src/ReactNodeViewRenderer.tsx#L232-L268","documentation":"Error \"Please use the NodeViewWrapper component for your node view.\" thrown in ueberdosis/tiptap.","triggerScenarios":"Thrown at packages/react/src/ReactNodeViewRenderer.tsx:250 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"}