diff --git a/docs/package.json b/docs/package.json
index b380fb13c5..aed5e8c451 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -22,7 +22,7 @@
"@blocknote/xl-pdf-exporter": "workspace:^",
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.4",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"@next/bundle-analyzer": "^14.1.0",
"@polar-sh/better-auth": "^0.1",
"@polar-sh/nextjs": "^0.3.23",
@@ -44,8 +44,8 @@
"partykit": "^0.0.84",
"pg": "8.15.5",
"raw-loader": "^4.0.2",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"react-github-btn": "^1.4.0",
"react-icons": "^5.2.1",
"y-partykit": "^0.0.25",
@@ -57,8 +57,8 @@
"@types/better-sqlite3": "7.6.13",
"@types/node": "^20",
"@types/pg": "8.11.14",
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"autoprefixer": "^10.0.1",
"eslint": "^8",
"eslint-config-next": "14.1.0",
diff --git a/examples/01-basic/01-minimal/index.html b/examples/01-basic/01-minimal/index.html
index 642715594a..7f8240617e 100644
--- a/examples/01-basic/01-minimal/index.html
+++ b/examples/01-basic/01-minimal/index.html
@@ -1,11 +1,11 @@
-
Basic Setup
+
diff --git a/examples/01-basic/01-minimal/package.json b/examples/01-basic/01-minimal/package.json
index 5179e10576..7deed32f95 100644
--- a/examples/01-basic/01-minimal/package.json
+++ b/examples/01-basic/01-minimal/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/02-block-objects/index.html b/examples/01-basic/02-block-objects/index.html
index ec99551235..7dbba2a212 100644
--- a/examples/01-basic/02-block-objects/index.html
+++ b/examples/01-basic/02-block-objects/index.html
@@ -1,11 +1,11 @@
-
Displaying Document JSON
+
diff --git a/examples/01-basic/02-block-objects/package.json b/examples/01-basic/02-block-objects/package.json
index c65e6e4fab..190dfa5f0f 100644
--- a/examples/01-basic/02-block-objects/package.json
+++ b/examples/01-basic/02-block-objects/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/03-multi-column/index.html b/examples/01-basic/03-multi-column/index.html
index 09721e7728..914212d28f 100644
--- a/examples/01-basic/03-multi-column/index.html
+++ b/examples/01-basic/03-multi-column/index.html
@@ -1,11 +1,11 @@
-
Multi-Column Blocks
+
diff --git a/examples/01-basic/03-multi-column/package.json b/examples/01-basic/03-multi-column/package.json
index 3a6f333943..5d6c869e02 100644
--- a/examples/01-basic/03-multi-column/package.json
+++ b/examples/01-basic/03-multi-column/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-multi-column": "latest"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/04-default-blocks/index.html b/examples/01-basic/04-default-blocks/index.html
index 18c0226a18..e3e4e92661 100644
--- a/examples/01-basic/04-default-blocks/index.html
+++ b/examples/01-basic/04-default-blocks/index.html
@@ -1,11 +1,11 @@
-
Default Schema Showcase
+
diff --git a/examples/01-basic/04-default-blocks/package.json b/examples/01-basic/04-default-blocks/package.json
index 06450ec709..1c38eec327 100644
--- a/examples/01-basic/04-default-blocks/package.json
+++ b/examples/01-basic/04-default-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/05-removing-default-blocks/index.html b/examples/01-basic/05-removing-default-blocks/index.html
index 01aaf4ca8d..f95160e28c 100644
--- a/examples/01-basic/05-removing-default-blocks/index.html
+++ b/examples/01-basic/05-removing-default-blocks/index.html
@@ -1,11 +1,11 @@
-
Removing Default Blocks from Schema
+
diff --git a/examples/01-basic/05-removing-default-blocks/package.json b/examples/01-basic/05-removing-default-blocks/package.json
index 155c5cab12..8acf5314e1 100644
--- a/examples/01-basic/05-removing-default-blocks/package.json
+++ b/examples/01-basic/05-removing-default-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/06-block-manipulation/index.html b/examples/01-basic/06-block-manipulation/index.html
index 44812420e7..7bdf77e285 100644
--- a/examples/01-basic/06-block-manipulation/index.html
+++ b/examples/01-basic/06-block-manipulation/index.html
@@ -1,11 +1,11 @@
-
Manipulating Blocks
+
diff --git a/examples/01-basic/06-block-manipulation/package.json b/examples/01-basic/06-block-manipulation/package.json
index 4a6310c3d9..2b7acf5d39 100644
--- a/examples/01-basic/06-block-manipulation/package.json
+++ b/examples/01-basic/06-block-manipulation/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/07-selection-blocks/index.html b/examples/01-basic/07-selection-blocks/index.html
index 3821ca8014..a51458b513 100644
--- a/examples/01-basic/07-selection-blocks/index.html
+++ b/examples/01-basic/07-selection-blocks/index.html
@@ -1,11 +1,11 @@
-
Displaying Selected Blocks
+
diff --git a/examples/01-basic/07-selection-blocks/package.json b/examples/01-basic/07-selection-blocks/package.json
index 51a4cb7acc..7bc269ca14 100644
--- a/examples/01-basic/07-selection-blocks/package.json
+++ b/examples/01-basic/07-selection-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/08-ariakit/index.html b/examples/01-basic/08-ariakit/index.html
index f394c4992a..e4594a8ae2 100644
--- a/examples/01-basic/08-ariakit/index.html
+++ b/examples/01-basic/08-ariakit/index.html
@@ -1,11 +1,11 @@
-
Use with Ariakit
+
diff --git a/examples/01-basic/08-ariakit/package.json b/examples/01-basic/08-ariakit/package.json
index 5b12b5ad5e..e35ac65d96 100644
--- a/examples/01-basic/08-ariakit/package.json
+++ b/examples/01-basic/08-ariakit/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/09-shadcn/index.html b/examples/01-basic/09-shadcn/index.html
index c70c418c1a..84a8096813 100644
--- a/examples/01-basic/09-shadcn/index.html
+++ b/examples/01-basic/09-shadcn/index.html
@@ -1,11 +1,11 @@
-
Use with ShadCN
+
diff --git a/examples/01-basic/09-shadcn/package.json b/examples/01-basic/09-shadcn/package.json
index 076de14c6a..99fc5808ce 100644
--- a/examples/01-basic/09-shadcn/package.json
+++ b/examples/01-basic/09-shadcn/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/10-localization/index.html b/examples/01-basic/10-localization/index.html
index 5a75a1709e..efa7f80ad3 100644
--- a/examples/01-basic/10-localization/index.html
+++ b/examples/01-basic/10-localization/index.html
@@ -1,11 +1,11 @@
-
Localization (i18n)
+
diff --git a/examples/01-basic/10-localization/package.json b/examples/01-basic/10-localization/package.json
index e6eba8cdf1..6b8d407ff1 100644
--- a/examples/01-basic/10-localization/package.json
+++ b/examples/01-basic/10-localization/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/11-custom-placeholder/index.html b/examples/01-basic/11-custom-placeholder/index.html
index f050647147..24c535465c 100644
--- a/examples/01-basic/11-custom-placeholder/index.html
+++ b/examples/01-basic/11-custom-placeholder/index.html
@@ -1,11 +1,11 @@
-
Change placeholder text
+
diff --git a/examples/01-basic/11-custom-placeholder/package.json b/examples/01-basic/11-custom-placeholder/package.json
index d23a455b6b..1597c529b0 100644
--- a/examples/01-basic/11-custom-placeholder/package.json
+++ b/examples/01-basic/11-custom-placeholder/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/12-multi-editor/index.html b/examples/01-basic/12-multi-editor/index.html
index f7f7370836..011941dc50 100644
--- a/examples/01-basic/12-multi-editor/index.html
+++ b/examples/01-basic/12-multi-editor/index.html
@@ -1,11 +1,11 @@
-
Multi-Editor Setup
+
diff --git a/examples/01-basic/12-multi-editor/package.json b/examples/01-basic/12-multi-editor/package.json
index 78e798f03e..fe4d4a94b0 100644
--- a/examples/01-basic/12-multi-editor/package.json
+++ b/examples/01-basic/12-multi-editor/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/13-custom-paste-handler/index.html b/examples/01-basic/13-custom-paste-handler/index.html
index 9b469194a1..b68dcceeba 100644
--- a/examples/01-basic/13-custom-paste-handler/index.html
+++ b/examples/01-basic/13-custom-paste-handler/index.html
@@ -1,11 +1,11 @@
-
Custom Paste Handler
+
diff --git a/examples/01-basic/13-custom-paste-handler/package.json b/examples/01-basic/13-custom-paste-handler/package.json
index 676827b542..e8b267a136 100644
--- a/examples/01-basic/13-custom-paste-handler/package.json
+++ b/examples/01-basic/13-custom-paste-handler/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/01-basic/testing/index.html b/examples/01-basic/testing/index.html
index 32f9b9ee34..b43d92fb67 100644
--- a/examples/01-basic/testing/index.html
+++ b/examples/01-basic/testing/index.html
@@ -1,11 +1,11 @@
-
Test Editor
+
diff --git a/examples/01-basic/testing/package.json b/examples/01-basic/testing/package.json
index 34af6c470e..619c59c9a0 100644
--- a/examples/01-basic/testing/package.json
+++ b/examples/01-basic/testing/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/02-backend/01-file-uploading/index.html b/examples/02-backend/01-file-uploading/index.html
index d910cdd819..7d5ab8b393 100644
--- a/examples/02-backend/01-file-uploading/index.html
+++ b/examples/02-backend/01-file-uploading/index.html
@@ -1,11 +1,11 @@
-
Upload Files
+
diff --git a/examples/02-backend/01-file-uploading/package.json b/examples/02-backend/01-file-uploading/package.json
index 115c1caaef..c0fd89ee5f 100644
--- a/examples/02-backend/01-file-uploading/package.json
+++ b/examples/02-backend/01-file-uploading/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/02-backend/02-saving-loading/index.html b/examples/02-backend/02-saving-loading/index.html
index 77be86d603..b6c60cab73 100644
--- a/examples/02-backend/02-saving-loading/index.html
+++ b/examples/02-backend/02-saving-loading/index.html
@@ -1,11 +1,11 @@
-
Saving & Loading
+
diff --git a/examples/02-backend/02-saving-loading/package.json b/examples/02-backend/02-saving-loading/package.json
index 61e62e68d8..b41faa6136 100644
--- a/examples/02-backend/02-saving-loading/package.json
+++ b/examples/02-backend/02-saving-loading/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/02-backend/03-s3/index.html b/examples/02-backend/03-s3/index.html
index c89ba9cceb..853f6527c4 100644
--- a/examples/02-backend/03-s3/index.html
+++ b/examples/02-backend/03-s3/index.html
@@ -1,11 +1,11 @@
-
Upload Files to AWS S3
+
diff --git a/examples/02-backend/03-s3/package.json b/examples/02-backend/03-s3/package.json
index 6f2ceee11a..151ad4e635 100644
--- a/examples/02-backend/03-s3/package.json
+++ b/examples/02-backend/03-s3/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@aws-sdk/client-s3": "^3.609.0",
"@aws-sdk/s3-request-presigner": "^3.609.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/02-backend/04-rendering-static-documents/index.html b/examples/02-backend/04-rendering-static-documents/index.html
index b7b949fc86..a62a394dd5 100644
--- a/examples/02-backend/04-rendering-static-documents/index.html
+++ b/examples/02-backend/04-rendering-static-documents/index.html
@@ -1,11 +1,11 @@
-
Rendering static documents
+
diff --git a/examples/02-backend/04-rendering-static-documents/package.json b/examples/02-backend/04-rendering-static-documents/package.json
index 6d9bf7d440..2a9c8e2914 100644
--- a/examples/02-backend/04-rendering-static-documents/package.json
+++ b/examples/02-backend/04-rendering-static-documents/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/server-util": "latest"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/01-ui-elements-remove/index.html b/examples/03-ui-components/01-ui-elements-remove/index.html
index 885854af13..7b475d63b8 100644
--- a/examples/03-ui-components/01-ui-elements-remove/index.html
+++ b/examples/03-ui-components/01-ui-elements-remove/index.html
@@ -1,11 +1,11 @@
-
Removing UI Elements
+
diff --git a/examples/03-ui-components/01-ui-elements-remove/package.json b/examples/03-ui-components/01-ui-elements-remove/package.json
index 6217ceb432..b2f82ce7d2 100644
--- a/examples/03-ui-components/01-ui-elements-remove/package.json
+++ b/examples/03-ui-components/01-ui-elements-remove/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/02-formatting-toolbar-buttons/index.html b/examples/03-ui-components/02-formatting-toolbar-buttons/index.html
index 054b18c47d..c347065176 100644
--- a/examples/03-ui-components/02-formatting-toolbar-buttons/index.html
+++ b/examples/03-ui-components/02-formatting-toolbar-buttons/index.html
@@ -1,11 +1,11 @@
-
Adding Formatting Toolbar Buttons
+
diff --git a/examples/03-ui-components/02-formatting-toolbar-buttons/package.json b/examples/03-ui-components/02-formatting-toolbar-buttons/package.json
index 67a1d7bc80..9203a771ab 100644
--- a/examples/03-ui-components/02-formatting-toolbar-buttons/package.json
+++ b/examples/03-ui-components/02-formatting-toolbar-buttons/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json b/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json
index 69a5deece0..b887d2cf3d 100644
--- a/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json
+++ b/examples/03-ui-components/03-formatting-toolbar-block-type-items/.bnexample.json
@@ -10,7 +10,7 @@
"Custom Schemas"
],
"dependencies": {
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
}
}
diff --git a/examples/03-ui-components/03-formatting-toolbar-block-type-items/index.html b/examples/03-ui-components/03-formatting-toolbar-block-type-items/index.html
index 1e84936eca..661579e8df 100644
--- a/examples/03-ui-components/03-formatting-toolbar-block-type-items/index.html
+++ b/examples/03-ui-components/03-formatting-toolbar-block-type-items/index.html
@@ -1,11 +1,11 @@
-
Adding Block Type Select Items
+
diff --git a/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json b/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json
index 7a01c4bf85..95c439620c 100644
--- a/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json
+++ b/examples/03-ui-components/03-formatting-toolbar-block-type-items/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "@mantine/core": "^7.10.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/04-side-menu-buttons/index.html b/examples/03-ui-components/04-side-menu-buttons/index.html
index 5417d76adf..bc614baf60 100644
--- a/examples/03-ui-components/04-side-menu-buttons/index.html
+++ b/examples/03-ui-components/04-side-menu-buttons/index.html
@@ -1,11 +1,11 @@
-
Adding Block Side Menu Buttons
+
diff --git a/examples/03-ui-components/04-side-menu-buttons/package.json b/examples/03-ui-components/04-side-menu-buttons/package.json
index 0503387354..1017655d8c 100644
--- a/examples/03-ui-components/04-side-menu-buttons/package.json
+++ b/examples/03-ui-components/04-side-menu-buttons/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/05-side-menu-drag-handle-items/index.html b/examples/03-ui-components/05-side-menu-drag-handle-items/index.html
index f0470fd6a4..b6923ca7c1 100644
--- a/examples/03-ui-components/05-side-menu-drag-handle-items/index.html
+++ b/examples/03-ui-components/05-side-menu-drag-handle-items/index.html
@@ -1,11 +1,11 @@
-
Adding Drag Handle Menu Items
+
diff --git a/examples/03-ui-components/05-side-menu-drag-handle-items/package.json b/examples/03-ui-components/05-side-menu-drag-handle-items/package.json
index 1665ffdc67..eeda717699 100644
--- a/examples/03-ui-components/05-side-menu-drag-handle-items/package.json
+++ b/examples/03-ui-components/05-side-menu-drag-handle-items/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/06-suggestion-menus-slash-menu-items/index.html b/examples/03-ui-components/06-suggestion-menus-slash-menu-items/index.html
index 3724c202ed..2f89240213 100644
--- a/examples/03-ui-components/06-suggestion-menus-slash-menu-items/index.html
+++ b/examples/03-ui-components/06-suggestion-menus-slash-menu-items/index.html
@@ -1,11 +1,11 @@
-
Adding Slash Menu Items
+
diff --git a/examples/03-ui-components/06-suggestion-menus-slash-menu-items/package.json b/examples/03-ui-components/06-suggestion-menus-slash-menu-items/package.json
index fe37b52315..3f2fe6ffd5 100644
--- a/examples/03-ui-components/06-suggestion-menus-slash-menu-items/package.json
+++ b/examples/03-ui-components/06-suggestion-menus-slash-menu-items/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/07-suggestion-menus-slash-menu-component/index.html b/examples/03-ui-components/07-suggestion-menus-slash-menu-component/index.html
index a2c63152a7..60c4faad55 100644
--- a/examples/03-ui-components/07-suggestion-menus-slash-menu-component/index.html
+++ b/examples/03-ui-components/07-suggestion-menus-slash-menu-component/index.html
@@ -1,11 +1,11 @@
-
Replacing Slash Menu Component
+
diff --git a/examples/03-ui-components/07-suggestion-menus-slash-menu-component/package.json b/examples/03-ui-components/07-suggestion-menus-slash-menu-component/package.json
index ecdf705fe7..4468af8cfc 100644
--- a/examples/03-ui-components/07-suggestion-menus-slash-menu-component/package.json
+++ b/examples/03-ui-components/07-suggestion-menus-slash-menu-component/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/index.html b/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/index.html
index 83b0d80957..622c168d0a 100644
--- a/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/index.html
+++ b/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/index.html
@@ -1,11 +1,11 @@
-
Changing Emoji Picker Columns
+
diff --git a/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/package.json b/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/package.json
index c933aea6cb..54610c2116 100644
--- a/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/package.json
+++ b/examples/03-ui-components/08-suggestion-menus-emoji-picker-columns/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/index.html b/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/index.html
index 4a239b4812..da741ebd66 100644
--- a/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/index.html
+++ b/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/index.html
@@ -1,11 +1,11 @@
-
Replacing Emoji Picker Component
+
diff --git a/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/package.json b/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/package.json
index 259276ce27..d3a5b5c57e 100644
--- a/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/package.json
+++ b/examples/03-ui-components/09-suggestion-menus-emoji-picker-component/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/10-suggestion-menus-grid-mentions/index.html b/examples/03-ui-components/10-suggestion-menus-grid-mentions/index.html
index 98fa204a25..79b6b18bd7 100644
--- a/examples/03-ui-components/10-suggestion-menus-grid-mentions/index.html
+++ b/examples/03-ui-components/10-suggestion-menus-grid-mentions/index.html
@@ -1,11 +1,11 @@
-
Grid Mentions Menu
+
diff --git a/examples/03-ui-components/10-suggestion-menus-grid-mentions/package.json b/examples/03-ui-components/10-suggestion-menus-grid-mentions/package.json
index ed99e19b43..37ca9b7c39 100644
--- a/examples/03-ui-components/10-suggestion-menus-grid-mentions/package.json
+++ b/examples/03-ui-components/10-suggestion-menus-grid-mentions/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/11-uppy-file-panel/index.html b/examples/03-ui-components/11-uppy-file-panel/index.html
index 84df3bcd7d..5e95a451fe 100644
--- a/examples/03-ui-components/11-uppy-file-panel/index.html
+++ b/examples/03-ui-components/11-uppy-file-panel/index.html
@@ -1,11 +1,11 @@
-
Uppy File Panel
+
diff --git a/examples/03-ui-components/11-uppy-file-panel/package.json b/examples/03-ui-components/11-uppy-file-panel/package.json
index e1b7a98888..b0072460d4 100644
--- a/examples/03-ui-components/11-uppy-file-panel/package.json
+++ b/examples/03-ui-components/11-uppy-file-panel/package.json
@@ -15,8 +15,8 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@uppy/core": "^3.13.1",
"@uppy/dashboard": "^3.9.1",
"@uppy/drag-drop": "^3.1.1",
@@ -31,8 +31,8 @@
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/12-static-formatting-toolbar/index.html b/examples/03-ui-components/12-static-formatting-toolbar/index.html
index 3fc4daa8f4..7b8e963628 100644
--- a/examples/03-ui-components/12-static-formatting-toolbar/index.html
+++ b/examples/03-ui-components/12-static-formatting-toolbar/index.html
@@ -1,11 +1,11 @@
-
Static Formatting Toolbar
+
diff --git a/examples/03-ui-components/12-static-formatting-toolbar/package.json b/examples/03-ui-components/12-static-formatting-toolbar/package.json
index e3e07cceac..3bab72ec96 100644
--- a/examples/03-ui-components/12-static-formatting-toolbar/package.json
+++ b/examples/03-ui-components/12-static-formatting-toolbar/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/13-custom-ui/index.html b/examples/03-ui-components/13-custom-ui/index.html
index 60fb544419..dac541ba99 100644
--- a/examples/03-ui-components/13-custom-ui/index.html
+++ b/examples/03-ui-components/13-custom-ui/index.html
@@ -1,11 +1,11 @@
-
UI With Third-Party Components
+
diff --git a/examples/03-ui-components/13-custom-ui/package.json b/examples/03-ui-components/13-custom-ui/package.json
index 4f2d67c282..d56175b1c0 100644
--- a/examples/03-ui-components/13-custom-ui/package.json
+++ b/examples/03-ui-components/13-custom-ui/package.json
@@ -15,16 +15,16 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.16.1",
"@mui/material": "^5.16.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/index.html b/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/index.html
index 6914836688..69b3583594 100644
--- a/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/index.html
+++ b/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/index.html
@@ -1,11 +1,11 @@
-
Experimental Mobile Formatting Toolbar
+
diff --git a/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/package.json b/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/package.json
index c581485b1e..d13d092b21 100644
--- a/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/package.json
+++ b/examples/03-ui-components/14-experimental-mobile-formatting-toolbar/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/15-advanced-tables/index.html b/examples/03-ui-components/15-advanced-tables/index.html
index b4bd86e618..ac1e67a652 100644
--- a/examples/03-ui-components/15-advanced-tables/index.html
+++ b/examples/03-ui-components/15-advanced-tables/index.html
@@ -1,11 +1,11 @@
-
Advanced Tables
+
diff --git a/examples/03-ui-components/15-advanced-tables/package.json b/examples/03-ui-components/15-advanced-tables/package.json
index b01ce849e7..49410e262e 100644
--- a/examples/03-ui-components/15-advanced-tables/package.json
+++ b/examples/03-ui-components/15-advanced-tables/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/03-ui-components/link-toolbar-buttons/index.html b/examples/03-ui-components/link-toolbar-buttons/index.html
index c7356c7253..8d742eb82a 100644
--- a/examples/03-ui-components/link-toolbar-buttons/index.html
+++ b/examples/03-ui-components/link-toolbar-buttons/index.html
@@ -1,11 +1,11 @@
-
Adding Link Toolbar Buttons
+
diff --git a/examples/03-ui-components/link-toolbar-buttons/package.json b/examples/03-ui-components/link-toolbar-buttons/package.json
index abf29e935f..782f0e26ce 100644
--- a/examples/03-ui-components/link-toolbar-buttons/package.json
+++ b/examples/03-ui-components/link-toolbar-buttons/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/01-theming-dom-attributes/index.html b/examples/04-theming/01-theming-dom-attributes/index.html
index 912cb1eca3..f1af929d1d 100644
--- a/examples/04-theming/01-theming-dom-attributes/index.html
+++ b/examples/04-theming/01-theming-dom-attributes/index.html
@@ -1,11 +1,11 @@
-
Adding CSS Class to Blocks
+
diff --git a/examples/04-theming/01-theming-dom-attributes/package.json b/examples/04-theming/01-theming-dom-attributes/package.json
index f2b71c3e2d..b035946c31 100644
--- a/examples/04-theming/01-theming-dom-attributes/package.json
+++ b/examples/04-theming/01-theming-dom-attributes/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/02-changing-font/index.html b/examples/04-theming/02-changing-font/index.html
index 7bdb6289a5..5c41a26cf0 100644
--- a/examples/04-theming/02-changing-font/index.html
+++ b/examples/04-theming/02-changing-font/index.html
@@ -1,11 +1,11 @@
-
Changing Editor Font
+
diff --git a/examples/04-theming/02-changing-font/package.json b/examples/04-theming/02-changing-font/package.json
index fb4f54d6f5..583a27712c 100644
--- a/examples/04-theming/02-changing-font/package.json
+++ b/examples/04-theming/02-changing-font/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/03-theming-css/index.html b/examples/04-theming/03-theming-css/index.html
index 79a251e0be..236a1e7de3 100644
--- a/examples/04-theming/03-theming-css/index.html
+++ b/examples/04-theming/03-theming-css/index.html
@@ -1,11 +1,11 @@
-
Overriding CSS Styles
+
diff --git a/examples/04-theming/03-theming-css/package.json b/examples/04-theming/03-theming-css/package.json
index d3d9b61829..17dbf4bff1 100644
--- a/examples/04-theming/03-theming-css/package.json
+++ b/examples/04-theming/03-theming-css/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/04-theming-css-variables/index.html b/examples/04-theming/04-theming-css-variables/index.html
index e130442a5c..5bf60302cb 100644
--- a/examples/04-theming/04-theming-css-variables/index.html
+++ b/examples/04-theming/04-theming-css-variables/index.html
@@ -1,11 +1,11 @@
-
Overriding Theme CSS Variables
+
diff --git a/examples/04-theming/04-theming-css-variables/package.json b/examples/04-theming/04-theming-css-variables/package.json
index aafb4cfcf9..2e21a63c5b 100644
--- a/examples/04-theming/04-theming-css-variables/package.json
+++ b/examples/04-theming/04-theming-css-variables/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/05-theming-css-variables-code/index.html b/examples/04-theming/05-theming-css-variables-code/index.html
index aaba1aa427..11fcbba59c 100644
--- a/examples/04-theming/05-theming-css-variables-code/index.html
+++ b/examples/04-theming/05-theming-css-variables-code/index.html
@@ -1,11 +1,11 @@
-
Changing Themes Through Code
+
diff --git a/examples/04-theming/05-theming-css-variables-code/package.json b/examples/04-theming/05-theming-css-variables-code/package.json
index bea27d77ea..73d536133f 100644
--- a/examples/04-theming/05-theming-css-variables-code/package.json
+++ b/examples/04-theming/05-theming-css-variables-code/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/06-code-block/index.html b/examples/04-theming/06-code-block/index.html
index b58e99d093..ceedbdb05b 100644
--- a/examples/04-theming/06-code-block/index.html
+++ b/examples/04-theming/06-code-block/index.html
@@ -1,11 +1,11 @@
-
Code Block Syntax Highlighting
+
diff --git a/examples/04-theming/06-code-block/package.json b/examples/04-theming/06-code-block/package.json
index a71e44df2d..14705d908b 100644
--- a/examples/04-theming/06-code-block/package.json
+++ b/examples/04-theming/06-code-block/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/code-block": "latest"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/04-theming/07-custom-code-block/index.html b/examples/04-theming/07-custom-code-block/index.html
index 1b7a1f0b09..a818489c9b 100644
--- a/examples/04-theming/07-custom-code-block/index.html
+++ b/examples/04-theming/07-custom-code-block/index.html
@@ -1,11 +1,11 @@
-
Custom Code Block Theme & Language
+
diff --git a/examples/04-theming/07-custom-code-block/package.json b/examples/04-theming/07-custom-code-block/package.json
index 33aa535e85..b30a6be2c2 100644
--- a/examples/04-theming/07-custom-code-block/package.json
+++ b/examples/04-theming/07-custom-code-block/package.json
@@ -15,8 +15,8 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/code-block": "latest",
"@shikijs/types": "^3.2.1",
"@shikijs/core": "^3.2.1",
@@ -25,8 +25,8 @@
"@shikijs/themes": "^3.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/01-converting-blocks-to-html/index.html b/examples/05-interoperability/01-converting-blocks-to-html/index.html
index de84a6cd5a..5c9c928685 100644
--- a/examples/05-interoperability/01-converting-blocks-to-html/index.html
+++ b/examples/05-interoperability/01-converting-blocks-to-html/index.html
@@ -1,11 +1,11 @@
-
Converting Blocks to HTML
+
diff --git a/examples/05-interoperability/01-converting-blocks-to-html/package.json b/examples/05-interoperability/01-converting-blocks-to-html/package.json
index bead14a025..260d37ef62 100644
--- a/examples/05-interoperability/01-converting-blocks-to-html/package.json
+++ b/examples/05-interoperability/01-converting-blocks-to-html/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/02-converting-blocks-from-html/index.html b/examples/05-interoperability/02-converting-blocks-from-html/index.html
index 1dfff3bae9..33c5a99324 100644
--- a/examples/05-interoperability/02-converting-blocks-from-html/index.html
+++ b/examples/05-interoperability/02-converting-blocks-from-html/index.html
@@ -1,11 +1,11 @@
-
Parsing HTML to Blocks
+
diff --git a/examples/05-interoperability/02-converting-blocks-from-html/package.json b/examples/05-interoperability/02-converting-blocks-from-html/package.json
index d1dbd7037d..338f75ac87 100644
--- a/examples/05-interoperability/02-converting-blocks-from-html/package.json
+++ b/examples/05-interoperability/02-converting-blocks-from-html/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/03-converting-blocks-to-md/index.html b/examples/05-interoperability/03-converting-blocks-to-md/index.html
index d90ecadfd1..138ce089ab 100644
--- a/examples/05-interoperability/03-converting-blocks-to-md/index.html
+++ b/examples/05-interoperability/03-converting-blocks-to-md/index.html
@@ -1,11 +1,11 @@
-
Converting Blocks to Markdown
+
diff --git a/examples/05-interoperability/03-converting-blocks-to-md/package.json b/examples/05-interoperability/03-converting-blocks-to-md/package.json
index b48fde48e6..8699101265 100644
--- a/examples/05-interoperability/03-converting-blocks-to-md/package.json
+++ b/examples/05-interoperability/03-converting-blocks-to-md/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/04-converting-blocks-from-md/index.html b/examples/05-interoperability/04-converting-blocks-from-md/index.html
index ba17f723a6..3b401edc16 100644
--- a/examples/05-interoperability/04-converting-blocks-from-md/index.html
+++ b/examples/05-interoperability/04-converting-blocks-from-md/index.html
@@ -1,11 +1,11 @@
-
Parsing Markdown to Blocks
+
diff --git a/examples/05-interoperability/04-converting-blocks-from-md/package.json b/examples/05-interoperability/04-converting-blocks-from-md/package.json
index c8148fb197..2cf68a9283 100644
--- a/examples/05-interoperability/04-converting-blocks-from-md/package.json
+++ b/examples/05-interoperability/04-converting-blocks-from-md/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/05-converting-blocks-to-pdf/index.html b/examples/05-interoperability/05-converting-blocks-to-pdf/index.html
index ba059c9776..3db92f7699 100644
--- a/examples/05-interoperability/05-converting-blocks-to-pdf/index.html
+++ b/examples/05-interoperability/05-converting-blocks-to-pdf/index.html
@@ -1,11 +1,11 @@
-
Exporting documents to PDF
+
diff --git a/examples/05-interoperability/05-converting-blocks-to-pdf/package.json b/examples/05-interoperability/05-converting-blocks-to-pdf/package.json
index 7207a6045c..4b5c4247db 100644
--- a/examples/05-interoperability/05-converting-blocks-to-pdf/package.json
+++ b/examples/05-interoperability/05-converting-blocks-to-pdf/package.json
@@ -15,15 +15,15 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-pdf-exporter": "latest",
"@blocknote/xl-multi-column": "latest",
"@react-pdf/renderer": "^4.3.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/06-converting-blocks-to-docx/index.html b/examples/05-interoperability/06-converting-blocks-to-docx/index.html
index e94b76bbbe..28135d372d 100644
--- a/examples/05-interoperability/06-converting-blocks-to-docx/index.html
+++ b/examples/05-interoperability/06-converting-blocks-to-docx/index.html
@@ -1,11 +1,11 @@
-
Exporting documents to .docx (Office Open XML)
+
diff --git a/examples/05-interoperability/06-converting-blocks-to-docx/package.json b/examples/05-interoperability/06-converting-blocks-to-docx/package.json
index 7dc4f636b0..4c9833faaf 100644
--- a/examples/05-interoperability/06-converting-blocks-to-docx/package.json
+++ b/examples/05-interoperability/06-converting-blocks-to-docx/package.json
@@ -15,15 +15,15 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-docx-exporter": "latest",
"@blocknote/xl-multi-column": "latest",
"docx": "^9.0.2"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/07-converting-blocks-to-odt/index.html b/examples/05-interoperability/07-converting-blocks-to-odt/index.html
index 45a53760a3..aa0611a99f 100644
--- a/examples/05-interoperability/07-converting-blocks-to-odt/index.html
+++ b/examples/05-interoperability/07-converting-blocks-to-odt/index.html
@@ -1,11 +1,11 @@
-
Exporting documents to .odt (Open Document Text)
+
diff --git a/examples/05-interoperability/07-converting-blocks-to-odt/package.json b/examples/05-interoperability/07-converting-blocks-to-odt/package.json
index d1092da393..23a528cdf0 100644
--- a/examples/05-interoperability/07-converting-blocks-to-odt/package.json
+++ b/examples/05-interoperability/07-converting-blocks-to-odt/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-odt-exporter": "latest",
"@blocknote/xl-multi-column": "latest"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/05-interoperability/08-converting-blocks-to-react-email/index.html b/examples/05-interoperability/08-converting-blocks-to-react-email/index.html
index b412d92142..d06d43c35d 100644
--- a/examples/05-interoperability/08-converting-blocks-to-react-email/index.html
+++ b/examples/05-interoperability/08-converting-blocks-to-react-email/index.html
@@ -1,11 +1,11 @@
-
Exporting documents to React Email
+
diff --git a/examples/05-interoperability/08-converting-blocks-to-react-email/package.json b/examples/05-interoperability/08-converting-blocks-to-react-email/package.json
index 2257ca2baf..d1d34a8967 100644
--- a/examples/05-interoperability/08-converting-blocks-to-react-email/package.json
+++ b/examples/05-interoperability/08-converting-blocks-to-react-email/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-email-exporter": "latest",
"@react-email/render": "^1.1.2"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/01-alert-block/.bnexample.json b/examples/06-custom-schema/01-alert-block/.bnexample.json
index e7424c4373..b7468665f3 100644
--- a/examples/06-custom-schema/01-alert-block/.bnexample.json
+++ b/examples/06-custom-schema/01-alert-block/.bnexample.json
@@ -10,7 +10,7 @@
"Slash Menu"
],
"dependencies": {
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
}
}
diff --git a/examples/06-custom-schema/01-alert-block/index.html b/examples/06-custom-schema/01-alert-block/index.html
index 84532134d8..f8d44b9a0d 100644
--- a/examples/06-custom-schema/01-alert-block/index.html
+++ b/examples/06-custom-schema/01-alert-block/index.html
@@ -1,11 +1,11 @@
-
Alert Block
+
diff --git a/examples/06-custom-schema/01-alert-block/package.json b/examples/06-custom-schema/01-alert-block/package.json
index 724ada3572..03e0d24a84 100644
--- a/examples/06-custom-schema/01-alert-block/package.json
+++ b/examples/06-custom-schema/01-alert-block/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "@mantine/core": "^7.10.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/02-suggestion-menus-mentions/index.html b/examples/06-custom-schema/02-suggestion-menus-mentions/index.html
index 9b0e7ef2b1..398ea2cea6 100644
--- a/examples/06-custom-schema/02-suggestion-menus-mentions/index.html
+++ b/examples/06-custom-schema/02-suggestion-menus-mentions/index.html
@@ -1,11 +1,11 @@
-
Mentions Menu
+
diff --git a/examples/06-custom-schema/02-suggestion-menus-mentions/package.json b/examples/06-custom-schema/02-suggestion-menus-mentions/package.json
index 21f885a9e4..8a17eb94b9 100644
--- a/examples/06-custom-schema/02-suggestion-menus-mentions/package.json
+++ b/examples/06-custom-schema/02-suggestion-menus-mentions/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/03-font-style/index.html b/examples/06-custom-schema/03-font-style/index.html
index 67f1b3fef2..d404400ed0 100644
--- a/examples/06-custom-schema/03-font-style/index.html
+++ b/examples/06-custom-schema/03-font-style/index.html
@@ -1,11 +1,11 @@
-
Font Style
+
diff --git a/examples/06-custom-schema/03-font-style/package.json b/examples/06-custom-schema/03-font-style/package.json
index d08215b00e..683a41f9a9 100644
--- a/examples/06-custom-schema/03-font-style/package.json
+++ b/examples/06-custom-schema/03-font-style/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/04-pdf-file-block/.bnexample.json b/examples/06-custom-schema/04-pdf-file-block/.bnexample.json
index 41eb231f75..17ab6ffd3b 100644
--- a/examples/06-custom-schema/04-pdf-file-block/.bnexample.json
+++ b/examples/06-custom-schema/04-pdf-file-block/.bnexample.json
@@ -10,7 +10,7 @@
"Slash Menu"
],
"dependencies": {
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
},
"pro": true
diff --git a/examples/06-custom-schema/04-pdf-file-block/index.html b/examples/06-custom-schema/04-pdf-file-block/index.html
index 7c645810ab..d727e61fd8 100644
--- a/examples/06-custom-schema/04-pdf-file-block/index.html
+++ b/examples/06-custom-schema/04-pdf-file-block/index.html
@@ -1,11 +1,11 @@
-
PDF Block
+
diff --git a/examples/06-custom-schema/04-pdf-file-block/package.json b/examples/06-custom-schema/04-pdf-file-block/package.json
index f817dbae28..256c961ab4 100644
--- a/examples/06-custom-schema/04-pdf-file-block/package.json
+++ b/examples/06-custom-schema/04-pdf-file-block/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "@mantine/core": "^7.10.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json b/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json
index 3c805f89e4..7d4aa972fc 100644
--- a/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json
+++ b/examples/06-custom-schema/05-alert-block-full-ux/.bnexample.json
@@ -11,7 +11,7 @@
"Slash Menu"
],
"dependencies": {
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
}
}
diff --git a/examples/06-custom-schema/05-alert-block-full-ux/index.html b/examples/06-custom-schema/05-alert-block-full-ux/index.html
index ac055fbdc7..99960a7884 100644
--- a/examples/06-custom-schema/05-alert-block-full-ux/index.html
+++ b/examples/06-custom-schema/05-alert-block-full-ux/index.html
@@ -1,11 +1,11 @@
-
Alert Block with Full UX
+
diff --git a/examples/06-custom-schema/05-alert-block-full-ux/package.json b/examples/06-custom-schema/05-alert-block-full-ux/package.json
index 635d86536f..cbe2eee10b 100644
--- a/examples/06-custom-schema/05-alert-block-full-ux/package.json
+++ b/examples/06-custom-schema/05-alert-block-full-ux/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
- "@mantine/core": "^7.10.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "@mantine/core": "^7.17.3",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/06-toggleable-blocks/index.html b/examples/06-custom-schema/06-toggleable-blocks/index.html
index 4211010629..4ae468dbd8 100644
--- a/examples/06-custom-schema/06-toggleable-blocks/index.html
+++ b/examples/06-custom-schema/06-toggleable-blocks/index.html
@@ -1,11 +1,11 @@
-
Toggleable Custom Blocks
+
diff --git a/examples/06-custom-schema/06-toggleable-blocks/package.json b/examples/06-custom-schema/06-toggleable-blocks/package.json
index 7d7aa33ff4..4f3c6190cb 100644
--- a/examples/06-custom-schema/06-toggleable-blocks/package.json
+++ b/examples/06-custom-schema/06-toggleable-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/react-custom-blocks/index.html b/examples/06-custom-schema/react-custom-blocks/index.html
index dde6760e51..6d6dda3f7b 100644
--- a/examples/06-custom-schema/react-custom-blocks/index.html
+++ b/examples/06-custom-schema/react-custom-blocks/index.html
@@ -1,11 +1,11 @@
-
Custom Blocks - React API
+
diff --git a/examples/06-custom-schema/react-custom-blocks/package.json b/examples/06-custom-schema/react-custom-blocks/package.json
index ef9df33b4a..f0239ae522 100644
--- a/examples/06-custom-schema/react-custom-blocks/package.json
+++ b/examples/06-custom-schema/react-custom-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/react-custom-inline-content/index.html b/examples/06-custom-schema/react-custom-inline-content/index.html
index 714e45c7bf..cf199d82b1 100644
--- a/examples/06-custom-schema/react-custom-inline-content/index.html
+++ b/examples/06-custom-schema/react-custom-inline-content/index.html
@@ -1,11 +1,11 @@
-
Custom Inline Content - React API
+
diff --git a/examples/06-custom-schema/react-custom-inline-content/package.json b/examples/06-custom-schema/react-custom-inline-content/package.json
index 1dc9b17734..f6755db92b 100644
--- a/examples/06-custom-schema/react-custom-inline-content/package.json
+++ b/examples/06-custom-schema/react-custom-inline-content/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/06-custom-schema/react-custom-styles/index.html b/examples/06-custom-schema/react-custom-styles/index.html
index 72db75e1ad..e89d7def39 100644
--- a/examples/06-custom-schema/react-custom-styles/index.html
+++ b/examples/06-custom-schema/react-custom-styles/index.html
@@ -1,11 +1,11 @@
-
Custom Styles - React API
+
diff --git a/examples/06-custom-schema/react-custom-styles/package.json b/examples/06-custom-schema/react-custom-styles/package.json
index a2d9f585a2..19c55b2889 100644
--- a/examples/06-custom-schema/react-custom-styles/package.json
+++ b/examples/06-custom-schema/react-custom-styles/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/01-partykit/index.html b/examples/07-collaboration/01-partykit/index.html
index 3bb0ffb452..707eae21e1 100644
--- a/examples/07-collaboration/01-partykit/index.html
+++ b/examples/07-collaboration/01-partykit/index.html
@@ -1,11 +1,11 @@
-
Collaborative Editing with PartyKit
+
diff --git a/examples/07-collaboration/01-partykit/package.json b/examples/07-collaboration/01-partykit/package.json
index c50ea40320..1396cd9e71 100644
--- a/examples/07-collaboration/01-partykit/package.json
+++ b/examples/07-collaboration/01-partykit/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"y-partykit": "^0.0.25",
"yjs": "^13.6.15"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/02-liveblocks/index.html b/examples/07-collaboration/02-liveblocks/index.html
index fb9bd8cfe4..af8a9f53fb 100644
--- a/examples/07-collaboration/02-liveblocks/index.html
+++ b/examples/07-collaboration/02-liveblocks/index.html
@@ -1,11 +1,11 @@
-
Collaborative Editing with Liveblocks
+
diff --git a/examples/07-collaboration/02-liveblocks/package.json b/examples/07-collaboration/02-liveblocks/package.json
index def2998319..30f23c9c55 100644
--- a/examples/07-collaboration/02-liveblocks/package.json
+++ b/examples/07-collaboration/02-liveblocks/package.json
@@ -15,8 +15,8 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@liveblocks/client": "^2.23.1",
"@liveblocks/react": "^2.23.1",
"@liveblocks/react-blocknote": "^2.23.1",
@@ -25,8 +25,8 @@
"yjs": "^13.6.15"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/03-y-sweet/index.html b/examples/07-collaboration/03-y-sweet/index.html
index ab35551621..0f89a74040 100644
--- a/examples/07-collaboration/03-y-sweet/index.html
+++ b/examples/07-collaboration/03-y-sweet/index.html
@@ -1,11 +1,11 @@
-
Collaborative Editing with Y-Sweet
+
diff --git a/examples/07-collaboration/03-y-sweet/package.json b/examples/07-collaboration/03-y-sweet/package.json
index cb8d1492a1..762d98eafd 100644
--- a/examples/07-collaboration/03-y-sweet/package.json
+++ b/examples/07-collaboration/03-y-sweet/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@y-sweet/react": "^0.6.3"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/04-comments/index.html b/examples/07-collaboration/04-comments/index.html
index 6acbee32f9..3f664dce9a 100644
--- a/examples/07-collaboration/04-comments/index.html
+++ b/examples/07-collaboration/04-comments/index.html
@@ -1,11 +1,11 @@
-
Comments & Threads
+
diff --git a/examples/07-collaboration/04-comments/package.json b/examples/07-collaboration/04-comments/package.json
index 45cebf7075..743c7f5b98 100644
--- a/examples/07-collaboration/04-comments/package.json
+++ b/examples/07-collaboration/04-comments/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@y-sweet/react": "^0.6.3",
"@mantine/core": "^7.10.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/05-comments-with-sidebar/index.html b/examples/07-collaboration/05-comments-with-sidebar/index.html
index 0fb8941655..6af0826869 100644
--- a/examples/07-collaboration/05-comments-with-sidebar/index.html
+++ b/examples/07-collaboration/05-comments-with-sidebar/index.html
@@ -1,11 +1,11 @@
-
Threads Sidebar
+
diff --git a/examples/07-collaboration/05-comments-with-sidebar/package.json b/examples/07-collaboration/05-comments-with-sidebar/package.json
index 2b7d33d0c8..eb2dfc1f9a 100644
--- a/examples/07-collaboration/05-comments-with-sidebar/package.json
+++ b/examples/07-collaboration/05-comments-with-sidebar/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@y-sweet/react": "^0.6.3",
"@mantine/core": "^7.10.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/06-ghost-writer/index.html b/examples/07-collaboration/06-ghost-writer/index.html
index bcca4b1a5c..784f0cc6cd 100644
--- a/examples/07-collaboration/06-ghost-writer/index.html
+++ b/examples/07-collaboration/06-ghost-writer/index.html
@@ -1,11 +1,11 @@
-
Ghost Writer
+
diff --git a/examples/07-collaboration/06-ghost-writer/package.json b/examples/07-collaboration/06-ghost-writer/package.json
index 5f37787686..b8de8b8043 100644
--- a/examples/07-collaboration/06-ghost-writer/package.json
+++ b/examples/07-collaboration/06-ghost-writer/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"y-partykit": "^0.0.25",
"yjs": "^13.6.15"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/07-collaboration/07-forking/index.html b/examples/07-collaboration/07-forking/index.html
index 108df09c38..45ad926703 100644
--- a/examples/07-collaboration/07-forking/index.html
+++ b/examples/07-collaboration/07-forking/index.html
@@ -1,11 +1,11 @@
-
Collaborative Editing with Forking
+
diff --git a/examples/07-collaboration/07-forking/package.json b/examples/07-collaboration/07-forking/package.json
index 2f02a17c24..03c69b311c 100644
--- a/examples/07-collaboration/07-forking/package.json
+++ b/examples/07-collaboration/07-forking/package.json
@@ -15,14 +15,14 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"y-partykit": "^0.0.25",
"yjs": "^13.6.15"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/08-extensions/01-tiptap-arrow-conversion/index.html b/examples/08-extensions/01-tiptap-arrow-conversion/index.html
index 68d9a1fd78..1d1f24c59c 100644
--- a/examples/08-extensions/01-tiptap-arrow-conversion/index.html
+++ b/examples/08-extensions/01-tiptap-arrow-conversion/index.html
@@ -1,11 +1,11 @@
-
TipTap extension (arrow InputRule)
+
diff --git a/examples/08-extensions/01-tiptap-arrow-conversion/package.json b/examples/08-extensions/01-tiptap-arrow-conversion/package.json
index a6ca899be9..5bc37a20e3 100644
--- a/examples/08-extensions/01-tiptap-arrow-conversion/package.json
+++ b/examples/08-extensions/01-tiptap-arrow-conversion/package.json
@@ -15,13 +15,13 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@tiptap/core": "^2.12.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/09-ai/01-minimal/.bnexample.json b/examples/09-ai/01-minimal/.bnexample.json
index 19b3413f5e..6de9d7b5bd 100644
--- a/examples/09-ai/01-minimal/.bnexample.json
+++ b/examples/09-ai/01-minimal/.bnexample.json
@@ -5,7 +5,7 @@
"tags": ["AI", "llm"],
"dependencies": {
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/groq": "^1.2.9",
"zustand": "^5.0.3"
diff --git a/examples/09-ai/01-minimal/index.html b/examples/09-ai/01-minimal/index.html
index 6e9c4e44a1..b31f43f604 100644
--- a/examples/09-ai/01-minimal/index.html
+++ b/examples/09-ai/01-minimal/index.html
@@ -1,11 +1,11 @@
-
Rich Text editor AI integration
+
diff --git a/examples/09-ai/01-minimal/package.json b/examples/09-ai/01-minimal/package.json
index aabe636163..4a93e90a01 100644
--- a/examples/09-ai/01-minimal/package.json
+++ b/examples/09-ai/01-minimal/package.json
@@ -15,17 +15,17 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/groq": "^1.2.9",
"zustand": "^5.0.3"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/09-ai/02-playground/.bnexample.json b/examples/09-ai/02-playground/.bnexample.json
index 247d188e80..2e467271da 100644
--- a/examples/09-ai/02-playground/.bnexample.json
+++ b/examples/09-ai/02-playground/.bnexample.json
@@ -5,7 +5,7 @@
"tags": ["AI", "llm"],
"dependencies": {
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/google": "^1.2.20",
"@ai-sdk/openai": "^1.3.22",
diff --git a/examples/09-ai/02-playground/index.html b/examples/09-ai/02-playground/index.html
index 402f74d225..94be2156bf 100644
--- a/examples/09-ai/02-playground/index.html
+++ b/examples/09-ai/02-playground/index.html
@@ -1,11 +1,11 @@
-
AI Playground
+
diff --git a/examples/09-ai/02-playground/package.json b/examples/09-ai/02-playground/package.json
index 48d4c32e2c..f852c5da96 100644
--- a/examples/09-ai/02-playground/package.json
+++ b/examples/09-ai/02-playground/package.json
@@ -15,10 +15,10 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/google": "^1.2.20",
"@ai-sdk/openai": "^1.3.22",
@@ -29,8 +29,8 @@
"zustand": "^5.0.3"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/09-ai/03-custom-ai-menu-items/.bnexample.json b/examples/09-ai/03-custom-ai-menu-items/.bnexample.json
index 94929e4e36..23355c91be 100644
--- a/examples/09-ai/03-custom-ai-menu-items/.bnexample.json
+++ b/examples/09-ai/03-custom-ai-menu-items/.bnexample.json
@@ -5,7 +5,7 @@
"tags": ["AI", "llm"],
"dependencies": {
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.1.0",
"@ai-sdk/openai": "^1.1.0",
"@ai-sdk/groq": "^1.1.0",
diff --git a/examples/09-ai/03-custom-ai-menu-items/index.html b/examples/09-ai/03-custom-ai-menu-items/index.html
index 8a9ab3594f..478d198cf1 100644
--- a/examples/09-ai/03-custom-ai-menu-items/index.html
+++ b/examples/09-ai/03-custom-ai-menu-items/index.html
@@ -1,11 +1,11 @@
-
Adding AI Menu Items
+
diff --git a/examples/09-ai/03-custom-ai-menu-items/package.json b/examples/09-ai/03-custom-ai-menu-items/package.json
index 78dc07ca6b..b347bcc3c7 100644
--- a/examples/09-ai/03-custom-ai-menu-items/package.json
+++ b/examples/09-ai/03-custom-ai-menu-items/package.json
@@ -15,10 +15,10 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.1.0",
"@ai-sdk/openai": "^1.1.0",
"@ai-sdk/groq": "^1.1.0",
@@ -26,8 +26,8 @@
"zustand": "^5.0.3"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/09-ai/04-with-collaboration/.bnexample.json b/examples/09-ai/04-with-collaboration/.bnexample.json
index 8f80b296dd..91f444abe2 100644
--- a/examples/09-ai/04-with-collaboration/.bnexample.json
+++ b/examples/09-ai/04-with-collaboration/.bnexample.json
@@ -5,7 +5,7 @@
"tags": ["AI", "llm"],
"dependencies": {
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/groq": "^1.2.9",
"y-partykit": "^0.0.25",
diff --git a/examples/09-ai/04-with-collaboration/index.html b/examples/09-ai/04-with-collaboration/index.html
index 244046ad88..fcd4ed14ca 100644
--- a/examples/09-ai/04-with-collaboration/index.html
+++ b/examples/09-ai/04-with-collaboration/index.html
@@ -1,11 +1,11 @@
-
AI + Ghost Writer
+
diff --git a/examples/09-ai/04-with-collaboration/package.json b/examples/09-ai/04-with-collaboration/package.json
index c5e4b57ed5..c7685692d1 100644
--- a/examples/09-ai/04-with-collaboration/package.json
+++ b/examples/09-ai/04-with-collaboration/package.json
@@ -15,10 +15,10 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"@blocknote/xl-ai": "latest",
- "@mantine/core": "^7.10.1",
+ "@mantine/core": "^7.17.3",
"ai": "^4.3.15",
"@ai-sdk/groq": "^1.2.9",
"y-partykit": "^0.0.25",
@@ -26,8 +26,8 @@
"zustand": "^5.0.3"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/vanilla-js/react-vanilla-custom-blocks/index.html b/examples/vanilla-js/react-vanilla-custom-blocks/index.html
index 91fb6eb142..cbe23cf903 100644
--- a/examples/vanilla-js/react-vanilla-custom-blocks/index.html
+++ b/examples/vanilla-js/react-vanilla-custom-blocks/index.html
@@ -1,11 +1,11 @@
-
Custom Blocks - Vanilla JS API
+
diff --git a/examples/vanilla-js/react-vanilla-custom-blocks/package.json b/examples/vanilla-js/react-vanilla-custom-blocks/package.json
index 6349cd5574..c30b7b3e95 100644
--- a/examples/vanilla-js/react-vanilla-custom-blocks/package.json
+++ b/examples/vanilla-js/react-vanilla-custom-blocks/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/vanilla-js/react-vanilla-custom-inline-content/index.html b/examples/vanilla-js/react-vanilla-custom-inline-content/index.html
index c0f65a2a84..1fe93f8d23 100644
--- a/examples/vanilla-js/react-vanilla-custom-inline-content/index.html
+++ b/examples/vanilla-js/react-vanilla-custom-inline-content/index.html
@@ -1,11 +1,11 @@
-
Custom Inline Content - Vanilla JS API
+
diff --git a/examples/vanilla-js/react-vanilla-custom-inline-content/package.json b/examples/vanilla-js/react-vanilla-custom-inline-content/package.json
index e8664135bd..50e73b6ace 100644
--- a/examples/vanilla-js/react-vanilla-custom-inline-content/package.json
+++ b/examples/vanilla-js/react-vanilla-custom-inline-content/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/examples/vanilla-js/react-vanilla-custom-styles/index.html b/examples/vanilla-js/react-vanilla-custom-styles/index.html
index 85482a09dd..f2ce1a2d09 100644
--- a/examples/vanilla-js/react-vanilla-custom-styles/index.html
+++ b/examples/vanilla-js/react-vanilla-custom-styles/index.html
@@ -1,11 +1,11 @@
-
Custom Styles - Vanilla JS API
+
diff --git a/examples/vanilla-js/react-vanilla-custom-styles/package.json b/examples/vanilla-js/react-vanilla-custom-styles/package.json
index a3c95ac913..f5c96c68a7 100644
--- a/examples/vanilla-js/react-vanilla-custom-styles/package.json
+++ b/examples/vanilla-js/react-vanilla-custom-styles/package.json
@@ -15,12 +15,12 @@
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- "react": "^18.3.1",
- "react-dom": "^18.3.1"
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"vite": "^5.3.4"
}
diff --git a/package.json b/package.json
index 130ec226cd..f571f9c3d4 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"nx"
]
},
- "packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808",
+ "packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
"private": true,
"scripts": {
"dev": "nx run @blocknote/example-editor:dev",
diff --git a/packages/ariakit/package.json b/packages/ariakit/package.json
index 5da7ac0021..0f2a1f57b7 100644
--- a/packages/ariakit/package.json
+++ b/packages/ariakit/package.json
@@ -61,8 +61,8 @@
"@blocknote/react": "0.33.0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.10.0",
"rimraf": "^5.0.5",
diff --git a/packages/dev-scripts/examples/template-react/package.json.template.tsx b/packages/dev-scripts/examples/template-react/package.json.template.tsx
index bc32a79b47..e1a3f4b578 100644
--- a/packages/dev-scripts/examples/template-react/package.json.template.tsx
+++ b/packages/dev-scripts/examples/template-react/package.json.template.tsx
@@ -17,13 +17,13 @@ const template = (project: Project) => ({
"@blocknote/ariakit": "latest",
"@blocknote/mantine": "latest",
"@blocknote/shadcn": "latest",
- react: "^18.3.1",
- "react-dom": "^18.3.1",
+ react: "^19.1.0",
+ "react-dom": "^19.1.0",
...(project.config?.dependencies || {}),
},
devDependencies: {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
vite: "^5.3.4",
...(project.config?.devDependencies || {}),
diff --git a/packages/dev-scripts/package.json b/packages/dev-scripts/package.json
index e2304916a5..245286f6b3 100644
--- a/packages/dev-scripts/package.json
+++ b/packages/dev-scripts/package.json
@@ -19,12 +19,12 @@
"lint": "eslint examples --max-warnings 0"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"eslint": "^8.10.0",
"glob": "^10.3.10",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"tinyglobby": "0.2.12",
"tsx": "^4.6.2",
"typescript": "^5.3.3"
diff --git a/packages/mantine/package.json b/packages/mantine/package.json
index b198ff35e7..0e24e09562 100644
--- a/packages/mantine/package.json
+++ b/packages/mantine/package.json
@@ -58,16 +58,18 @@
"dependencies": {
"@blocknote/core": "0.33.0",
"@blocknote/react": "0.33.0",
- "@mantine/core": "^7.10.1",
- "@mantine/hooks": "^7.10.1",
+ "@mantine/core": "^7.17.3",
+ "@mantine/hooks": "^7.17.3",
"@mantine/utils": "^6.0.21",
"react-icons": "^5.2.1"
},
"devDependencies": {
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.10.0",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"rimraf": "^5.0.5",
"rollup-plugin-webpack-stats": "^0.2.2",
"typescript": "^5.3.3",
diff --git a/packages/mantine/src/menu/Menu.tsx b/packages/mantine/src/menu/Menu.tsx
index eff683262d..b8bc9b29ca 100644
--- a/packages/mantine/src/menu/Menu.tsx
+++ b/packages/mantine/src/menu/Menu.tsx
@@ -87,7 +87,9 @@ const SubMenu = forwardRef<
const itemRef = useRef(null);
- const menuCloseTimer = useRef | undefined>();
+ const menuCloseTimer = useRef | undefined>(
+ undefined,
+ );
const mouseLeave = useCallback(() => {
if (menuCloseTimer.current) {
diff --git a/packages/react/package.json b/packages/react/package.json
index a12a117aff..eed1f72041 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -73,12 +73,12 @@
"@types/lodash.foreach": "^4.5.9",
"@types/lodash.groupby": "^4.6.9",
"@types/lodash.merge": "^4.6.9",
- "@types/react": "^18.0.25",
- "@types/react-dom": "^18.0.9",
+ "@types/react": "^19.1.0",
+ "@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.10.0",
- "react": "^18.3.1",
- "react-dom": "^18.3.1",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
"rimraf": "^5.0.5",
"rollup-plugin-webpack-stats": "^0.2.2",
"typescript": "^5.3.3",
diff --git a/packages/react/src/components/Comments/useThreads.ts b/packages/react/src/components/Comments/useThreads.ts
index 5edbf3c347..3977827c71 100644
--- a/packages/react/src/components/Comments/useThreads.ts
+++ b/packages/react/src/components/Comments/useThreads.ts
@@ -16,7 +16,7 @@ export function useThreads(editor: BlockNoteEditor) {
// this ref works around this error:
// https://react.dev/reference/react/useSyncExternalStore#im-getting-an-error-the-result-of-getsnapshot-should-be-cached
// however, might not be a good practice to work around it this way
- const threadsRef = useRef