diff --git a/.changeset/polite-buttons-wash.md b/.changeset/polite-buttons-wash.md new file mode 100644 index 0000000000..69aa677ea1 --- /dev/null +++ b/.changeset/polite-buttons-wash.md @@ -0,0 +1,5 @@ +--- +"@tiptap/react": patch +--- + +React 19 is now allowed as a peer dep, we did not have to make any changes for React 19 diff --git a/package-lock.json b/package-lock.json index 082a62505d..f210c38cba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19762,8 +19762,8 @@ "peerDependencies": { "@tiptap/core": "^2.7.0", "@tiptap/pm": "^2.7.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "packages/starter-kit": { diff --git a/packages/react/package.json b/packages/react/package.json index 350739d702..38647da7e3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -46,8 +46,8 @@ "peerDependencies": { "@tiptap/core": "^2.7.0", "@tiptap/pm": "^2.7.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "repository": { "type": "git",