Bug Report
Environment
| Package |
Version |
reactjs-tiptap-editor |
1.0.26 |
react |
19.2.0 |
react-dom |
19.2.0 |
@tiptap/react |
3.27.1 |
@tiptap/core |
3.27.1 |
| Vite |
7.1.9 |
| Package Manager |
pnpm (Turborepo monorepo) |
Description
Rendering any component from reactjs-tiptap-editor (such as RichTextProvider or any toolbar component) inside a React 19 application causes the app to crash immediately with the following runtime error:
TypeError: Cannot read properties of null (reading 'useId')
at exports.useId (chunk-5FXY5V76.js:929:35)
at W (reactjs-tiptap-editor.js:276:37)
The error occurs before the editor is rendered.
Steps to Reproduce
- Create a React 19 project using Vite.
- Install
reactjs-tiptap-editor@1.0.26.
- Render
RichTextProvider (or any toolbar component).
- Start the application.
Actual Behavior
The application crashes with:
TypeError: Cannot read properties of null (reading 'useId')
Expected Behavior
The editor should render normally without crashing.
Bug Report
Environment
reactjs-tiptap-editor1.0.26react19.2.0react-dom19.2.0@tiptap/react3.27.1@tiptap/core3.27.17.1.9pnpm(Turborepo monorepo)Description
Rendering any component from
reactjs-tiptap-editor(such asRichTextProvideror any toolbar component) inside a React 19 application causes the app to crash immediately with the following runtime error:The error occurs before the editor is rendered.
Steps to Reproduce
reactjs-tiptap-editor@1.0.26.RichTextProvider(or any toolbar component).Actual Behavior
The application crashes with:
Expected Behavior
The editor should render normally without crashing.