Skip to content

Commit b5dcbbb

Browse files
committed
⬆️(frontend) upgrade Blocknote to 0.42.1
We upgraded Blocknote to version 0.42.1 to benefit from the latest features and bug fixes. There is some compatibility issues with tiptap extensions, so we had to pin tiptap to "3.10.2" to ensure everything works smoothly. There is as well some issues with prosemirror, we pinned the problematic packages.
1 parent 2e64298 commit b5dcbbb

File tree

5 files changed

+227
-220
lines changed

5 files changed

+227
-220
lines changed

src/frontend/apps/impress/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
},
2020
"dependencies": {
2121
"@ag-media/react-pdf-table": "2.0.3",
22-
"@blocknote/code-block": "0.41.1",
23-
"@blocknote/core": "0.41.1",
24-
"@blocknote/mantine": "0.41.1",
25-
"@blocknote/react": "0.41.1",
26-
"@blocknote/xl-docx-exporter": "0.41.1",
27-
"@blocknote/xl-multi-column": "0.41.1",
28-
"@blocknote/xl-odt-exporter": "0.41.1",
29-
"@blocknote/xl-pdf-exporter": "0.41.1",
22+
"@blocknote/code-block": "0.42.1",
23+
"@blocknote/core": "0.42.1",
24+
"@blocknote/mantine": "0.42.1",
25+
"@blocknote/react": "0.42.1",
26+
"@blocknote/xl-docx-exporter": "0.42.1",
27+
"@blocknote/xl-multi-column": "0.42.1",
28+
"@blocknote/xl-odt-exporter": "0.42.1",
29+
"@blocknote/xl-pdf-exporter": "0.42.1",
3030
"@dnd-kit/core": "6.3.1",
3131
"@dnd-kit/modifiers": "9.0.0",
3232
"@emoji-mart/data": "1.2.1",
@@ -43,7 +43,7 @@
4343
"@react-pdf/renderer": "4.3.1",
4444
"@sentry/nextjs": "10.22.0",
4545
"@tanstack/react-query": "5.90.6",
46-
"@tiptap/extensions": "3.10.1",
46+
"@tiptap/extensions": "*",
4747
"canvg": "4.0.3",
4848
"clsx": "2.1.1",
4949
"cmdk": "1.1.1",

src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/CalloutBlock.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,5 +173,4 @@ export const getCalloutFormattingToolbarItems = (
173173
name: t('Callout'),
174174
type: 'callout',
175175
icon: () => <Icon iconName="lightbulb" $size="16px" />,
176-
isSelected: (block) => block.type === 'callout',
177176
});

src/frontend/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,18 @@
3131
"server:test": "yarn COLLABORATION_SERVER run test"
3232
},
3333
"resolutions": {
34+
"@tiptap/extensions": "3.10.2",
3435
"@types/node": "24.10.0",
3536
"@types/react": "19.2.2",
3637
"@types/react-dom": "19.2.2",
3738
"@typescript-eslint/eslint-plugin": "8.46.2",
3839
"@typescript-eslint/parser": "8.46.2",
3940
"docx": "9.5.0",
4041
"eslint": "9.39.0",
42+
"prosemirror-state": "1.4.4",
43+
"prosemirror-view": "1.41.3",
44+
"prosemirror-model": "1.25.4",
45+
"prosemirror-transform": "1.10.4",
4146
"react": "19.2.0",
4247
"react-dom": "19.2.0",
4348
"typescript": "5.9.3",

src/frontend/servers/y-provider/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": ">=22"
1717
},
1818
"dependencies": {
19-
"@blocknote/server-util": "0.41.1",
19+
"@blocknote/server-util": "0.42.1",
2020
"@hocuspocus/server": "3.4.0",
2121
"@sentry/node": "10.22.0",
2222
"@sentry/profiling-node": "10.22.0",
@@ -30,7 +30,7 @@
3030
"yjs": "*"
3131
},
3232
"devDependencies": {
33-
"@blocknote/core": "0.41.1",
33+
"@blocknote/core": "0.42.1",
3434
"@hocuspocus/provider": "3.4.0",
3535
"@types/cors": "2.8.19",
3636
"@types/express": "5.0.5",

0 commit comments

Comments
 (0)