Skip to content

Commit 89ad610

Browse files
committed
🐛(frontend) fix collaboration error
We upgrade blocknote to 0.23.2-hotfix.0, it includes a fix with the collaboration.
1 parent 251787b commit 89ad610

File tree

3 files changed

+166
-24
lines changed

3 files changed

+166
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ and this project adheres to
1212

1313
- Use sentry tags instead of extra scope
1414

15+
## Fixed
16+
17+
- 🐛(frontend) fix collaboration error #684
18+
1519
## [2.3.0] - 2025-03-03
1620

1721
## Added

src/frontend/apps/impress/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
},
1717
"dependencies": {
1818
"@ag-media/react-pdf-table": "2.0.1",
19-
"@blocknote/core": "0.23.2",
20-
"@blocknote/mantine": "0.23.2",
21-
"@blocknote/react": "0.23.2",
22-
"@blocknote/xl-docx-exporter": "0.23.2",
23-
"@blocknote/xl-pdf-exporter": "0.23.2",
19+
"@blocknote/core": "0.23.2-hotfix.0",
20+
"@blocknote/mantine": "0.23.2-hotfix.0",
21+
"@blocknote/react": "0.23.2-hotfix.0",
22+
"@blocknote/xl-docx-exporter": "0.23.2-hotfix.0",
23+
"@blocknote/xl-pdf-exporter": "0.23.2-hotfix.0",
2424
"@gouvfr-lasuite/integration": "1.0.2",
2525
"@hocuspocus/provider": "2.15.2",
2626
"@openfun/cunningham-react": "2.9.4",

src/frontend/yarn.lock

Lines changed: 157 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,56 @@
10041004
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
10051005
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
10061006

1007-
"@blocknote/core@0.23.2", "@blocknote/core@^0.23.2":
1007+
"@blocknote/core@0.23.2-hotfix.0":
1008+
version "0.23.2-hotfix.0"
1009+
resolved "https://registry.yarnpkg.com/@blocknote/core/-/core-0.23.2-hotfix.0.tgz#f95e64dfa6a481baac27414242b08b593bf6383d"
1010+
integrity sha512-y+fAV7YBwRQYonITjcSYiydTqZMA2VePBkcurLGDGU/OV3V/ihSsS8TjhABVf3l+w5bX3bp1i1ZuyhiGopyFBg==
1011+
dependencies:
1012+
"@emoji-mart/data" "^1.2.1"
1013+
"@tiptap/core" "^2.7.1"
1014+
"@tiptap/extension-bold" "^2.7.1"
1015+
"@tiptap/extension-code" "^2.7.1"
1016+
"@tiptap/extension-collaboration" "^2.7.1"
1017+
"@tiptap/extension-collaboration-cursor" "^2.7.1"
1018+
"@tiptap/extension-gapcursor" "^2.7.1"
1019+
"@tiptap/extension-hard-break" "^2.7.1"
1020+
"@tiptap/extension-history" "^2.7.1"
1021+
"@tiptap/extension-horizontal-rule" "^2.7.1"
1022+
"@tiptap/extension-italic" "^2.7.1"
1023+
"@tiptap/extension-link" "^2.7.1"
1024+
"@tiptap/extension-paragraph" "^2.7.1"
1025+
"@tiptap/extension-strike" "^2.7.1"
1026+
"@tiptap/extension-table-cell" "^2.7.1"
1027+
"@tiptap/extension-table-header" "^2.7.1"
1028+
"@tiptap/extension-table-row" "^2.7.1"
1029+
"@tiptap/extension-text" "^2.7.1"
1030+
"@tiptap/extension-underline" "^2.7.1"
1031+
"@tiptap/pm" "^2.7.1"
1032+
emoji-mart "^5.6.0"
1033+
hast-util-from-dom "^4.2.0"
1034+
prosemirror-dropcursor "^1.8.1"
1035+
prosemirror-highlight "^0.9.0"
1036+
prosemirror-model "^1.23.0"
1037+
prosemirror-state "^1.4.3"
1038+
prosemirror-tables "^1.6.1"
1039+
prosemirror-transform "^1.10.2"
1040+
prosemirror-view "^1.33.7"
1041+
rehype-format "^5.0.0"
1042+
rehype-parse "^8.0.4"
1043+
rehype-remark "^9.1.2"
1044+
rehype-stringify "^9.0.3"
1045+
remark-gfm "^3.0.1"
1046+
remark-parse "^10.0.1"
1047+
remark-rehype "^10.1.0"
1048+
remark-stringify "^10.0.2"
1049+
shiki "^1.22.0"
1050+
unified "^10.1.2"
1051+
uuid "^8.3.2"
1052+
y-prosemirror "1.2.17"
1053+
y-protocols "^1.0.6"
1054+
yjs "^13.6.15"
1055+
1056+
"@blocknote/core@^0.23.2":
10081057
version "0.23.2"
10091058
resolved "https://registry.yarnpkg.com/@blocknote/core/-/core-0.23.2.tgz#8383ec6c71b054412f968e77d65e0641a944a164"
10101059
integrity sha512-rPKiWJq/Tg479PFk5DPY4xMqX5puPqSidD5cYrBHYdt9dXvuqAnMNbdDhYpRM9bA7XmLXkYG46kSzUjI58ZIBA==
@@ -1053,19 +1102,80 @@
10531102
y-protocols "^1.0.6"
10541103
yjs "^13.6.15"
10551104

1056-
"@blocknote/mantine@0.23.2":
1057-
version "0.23.2"
1058-
resolved "https://registry.yarnpkg.com/@blocknote/mantine/-/mantine-0.23.2.tgz#438be000b74b17dab4621d0acb141f40058fd272"
1059-
integrity sha512-rg6nD+XiS9NuMoZP1QMIT//SyDR0tukPkfJZ/P88mL9n1j0Cw3RNzKwfZgQR3WYwMMIPum2Zx++iZtAo8mONPA==
1105+
"@blocknote/core@^0.23.2-hotfix.0", "@blocknote/core@^0.23.6":
1106+
version "0.23.6"
1107+
resolved "https://registry.yarnpkg.com/@blocknote/core/-/core-0.23.6.tgz#3cffea4549b77a6d6a9406ad9bb3e56e8c76d3ab"
1108+
integrity sha512-X5bxzFCgAG42lT2NhKJQdEQp0DEWaY4DJdGo76d2o3xef+bNGCLRe4i2XkGty2B9B3uYElgHqz6GYGeF0Hfn5g==
10601109
dependencies:
1061-
"@blocknote/core" "^0.23.2"
1062-
"@blocknote/react" "^0.23.2"
1110+
"@emoji-mart/data" "^1.2.1"
1111+
"@tiptap/core" "^2.7.1"
1112+
"@tiptap/extension-bold" "^2.7.1"
1113+
"@tiptap/extension-code" "^2.7.1"
1114+
"@tiptap/extension-collaboration" "^2.7.1"
1115+
"@tiptap/extension-collaboration-cursor" "^2.7.1"
1116+
"@tiptap/extension-gapcursor" "^2.7.1"
1117+
"@tiptap/extension-hard-break" "^2.7.1"
1118+
"@tiptap/extension-history" "^2.7.1"
1119+
"@tiptap/extension-horizontal-rule" "^2.7.1"
1120+
"@tiptap/extension-italic" "^2.7.1"
1121+
"@tiptap/extension-link" "^2.7.1"
1122+
"@tiptap/extension-paragraph" "^2.7.1"
1123+
"@tiptap/extension-strike" "^2.7.1"
1124+
"@tiptap/extension-table-cell" "^2.7.1"
1125+
"@tiptap/extension-table-header" "^2.7.1"
1126+
"@tiptap/extension-table-row" "^2.7.1"
1127+
"@tiptap/extension-text" "^2.7.1"
1128+
"@tiptap/extension-underline" "^2.7.1"
1129+
"@tiptap/pm" "^2.7.1"
1130+
emoji-mart "^5.6.0"
1131+
hast-util-from-dom "^4.2.0"
1132+
prosemirror-dropcursor "^1.8.1"
1133+
prosemirror-highlight "^0.9.0"
1134+
prosemirror-model "^1.23.0"
1135+
prosemirror-state "^1.4.3"
1136+
prosemirror-tables "^1.6.1"
1137+
prosemirror-transform "^1.10.2"
1138+
prosemirror-view "^1.38.0"
1139+
rehype-format "^5.0.0"
1140+
rehype-parse "^8.0.4"
1141+
rehype-remark "^9.1.2"
1142+
rehype-stringify "^9.0.3"
1143+
remark-gfm "^3.0.1"
1144+
remark-parse "^10.0.1"
1145+
remark-rehype "^10.1.0"
1146+
remark-stringify "^10.0.2"
1147+
shiki "^1.22.0"
1148+
unified "^10.1.2"
1149+
uuid "^8.3.2"
1150+
y-prosemirror "1.2.13"
1151+
y-protocols "^1.0.6"
1152+
yjs "^13.6.15"
1153+
1154+
"@blocknote/mantine@0.23.2-hotfix.0":
1155+
version "0.23.2-hotfix.0"
1156+
resolved "https://registry.yarnpkg.com/@blocknote/mantine/-/mantine-0.23.2-hotfix.0.tgz#695a6b44b92fab91ee0dcaa93c4224bc573374f4"
1157+
integrity sha512-8SNBzgdOiYz+of/BfZY15nG71fmB0jk2eKjVliU4fWbhyKCM5ZJ86I2/5Ap8yBNP6ZtrV7QEEKyUqelg7/U/PA==
1158+
dependencies:
1159+
"@blocknote/core" "^0.23.2-hotfix.0"
1160+
"@blocknote/react" "^0.23.2-hotfix.0"
10631161
"@mantine/core" "^7.10.1"
10641162
"@mantine/hooks" "^7.10.1"
10651163
"@mantine/utils" "^6.0.21"
10661164
react-icons "^5.2.1"
10671165

1068-
"@blocknote/react@0.23.2", "@blocknote/react@^0.23.2":
1166+
"@blocknote/react@0.23.2-hotfix.0":
1167+
version "0.23.2-hotfix.0"
1168+
resolved "https://registry.yarnpkg.com/@blocknote/react/-/react-0.23.2-hotfix.0.tgz#4fc52986b6b22598ee89a5ab1cafbe3d2d04ae0b"
1169+
integrity sha512-POcDQHc4VsNrGxDH6DPcm2SeAaSnqQgWgGKCGljR1+4HaaqdK56WbHYeFw4W70jJcj5W6zY0keoev+r3lNH86Q==
1170+
dependencies:
1171+
"@blocknote/core" "^0.23.2-hotfix.0"
1172+
"@floating-ui/react" "^0.26.4"
1173+
"@tiptap/core" "^2.7.1"
1174+
"@tiptap/react" "^2.7.1"
1175+
lodash.merge "^4.6.2"
1176+
react-icons "^5.2.1"
1177+
1178+
"@blocknote/react@^0.23.2":
10691179
version "0.23.2"
10701180
resolved "https://registry.yarnpkg.com/@blocknote/react/-/react-0.23.2.tgz#1a6e5463b768c481f5d662d37353c5765454b16b"
10711181
integrity sha512-/6eqWmA4gRDskCX/2HUAf/i4OzxeObg/59wpHu3rjQLGHCiGrgQx9pLyO2tf/sy0b+WstXpKlSj2V13YJ45E+Q==
@@ -1077,6 +1187,18 @@
10771187
lodash.merge "^4.6.2"
10781188
react-icons "^5.2.1"
10791189

1190+
"@blocknote/react@^0.23.2-hotfix.0":
1191+
version "0.23.6"
1192+
resolved "https://registry.yarnpkg.com/@blocknote/react/-/react-0.23.6.tgz#359272d4a7116822254c32710ec889f6ae503a72"
1193+
integrity sha512-HHlutNtgDNuSLYPyDjbyAGSimSY+CTG3Uvga5J8E4aky2XvxDQhrp1w2iPdOX5IAcLbpuqTOpDbdRj5pfTvveA==
1194+
dependencies:
1195+
"@blocknote/core" "^0.23.6"
1196+
"@floating-ui/react" "^0.26.4"
1197+
"@tiptap/core" "^2.7.1"
1198+
"@tiptap/react" "^2.7.1"
1199+
lodash.merge "^4.6.2"
1200+
react-icons "^5.2.1"
1201+
10801202
"@blocknote/server-util@0.23.2":
10811203
version "0.23.2"
10821204
resolved "https://registry.yarnpkg.com/@blocknote/server-util/-/server-util-0.23.2.tgz#aa2123b71027b8db1f98e7e3073c87361902fd19"
@@ -1091,23 +1213,23 @@
10911213
y-protocols "^1.0.6"
10921214
yjs "^13.6.15"
10931215

1094-
"@blocknote/xl-docx-exporter@0.23.2":
1095-
version "0.23.2"
1096-
resolved "https://registry.yarnpkg.com/@blocknote/xl-docx-exporter/-/xl-docx-exporter-0.23.2.tgz#e55c94aaac3d24cffcd9f918a2c9875875c5c477"
1097-
integrity sha512-A8TFP+heo6qt6Afm/vE19PfcJQ9ktnVNWMdodkziYmjy0RSQeqmLGHs8RfKfHMaQMMcXTtdmdMQGyJj2HDfRmQ==
1216+
"@blocknote/xl-docx-exporter@0.23.2-hotfix.0":
1217+
version "0.23.2-hotfix.0"
1218+
resolved "https://registry.yarnpkg.com/@blocknote/xl-docx-exporter/-/xl-docx-exporter-0.23.2-hotfix.0.tgz#4be683d38da35d7b056f759e033a59335746c88b"
1219+
integrity sha512-LXodW2toxtjx2WE7ZOUFdrqnuahjpt5+12EkA1n3BeMIoApv7BKsPKmwkvMLmjg3S+8VX29tiOxFqRUOUL75lQ==
10981220
dependencies:
1099-
"@blocknote/core" "^0.23.2"
1221+
"@blocknote/core" "^0.23.2-hotfix.0"
11001222
buffer "^6.0.3"
11011223
docx "^9.0.2"
11021224
sharp "^0.33.5"
11031225

1104-
"@blocknote/xl-pdf-exporter@0.23.2":
1105-
version "0.23.2"
1106-
resolved "https://registry.yarnpkg.com/@blocknote/xl-pdf-exporter/-/xl-pdf-exporter-0.23.2.tgz#a7782e6af1dd21723df6e02d47f57fd5b0080de0"
1107-
integrity sha512-NsRMmDIBjmSXRp4XTbFHrAFUaSRKeIA6GYTqEFk/XyQU78h/uRLzWyzrDnkJSHPA81O3TX1C4ih4lbuYisFpzg==
1226+
"@blocknote/xl-pdf-exporter@0.23.2-hotfix.0":
1227+
version "0.23.2-hotfix.0"
1228+
resolved "https://registry.yarnpkg.com/@blocknote/xl-pdf-exporter/-/xl-pdf-exporter-0.23.2-hotfix.0.tgz#a9a64e66e0d3f87a28efc9de689c3a14ce573025"
1229+
integrity sha512-1QPOSv+2OeUAEGY2yDxRsZopv/rdpZZ2U6amvipwGXwH9KmXqenFOuM8ZrrHf/UAens9vXGRx4ezKaAkdm/Nmw==
11081230
dependencies:
1109-
"@blocknote/core" "^0.23.2"
1110-
"@blocknote/react" "^0.23.2"
1231+
"@blocknote/core" "^0.23.2-hotfix.0"
1232+
"@blocknote/react" "^0.23.2-hotfix.0"
11111233
"@react-pdf/renderer" "^4.0.0"
11121234
buffer "^6.0.3"
11131235
docx "^9.0.2"
@@ -11597,6 +11719,15 @@ prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.27.0, pros
1159711719
prosemirror-state "^1.0.0"
1159811720
prosemirror-transform "^1.1.0"
1159911721

11722+
prosemirror-view@^1.38.0:
11723+
version "1.38.1"
11724+
resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.38.1.tgz#566d30cc8b00a68d6b4c60f5d8a6ab97c82990b3"
11725+
integrity sha512-4FH/uM1A4PNyrxXbD+RAbAsf0d/mM0D/wAKSVVWK7o0A9Q/oOXJBrw786mBf2Vnrs/Edly6dH6Z2gsb7zWwaUw==
11726+
dependencies:
11727+
prosemirror-model "^1.20.0"
11728+
prosemirror-state "^1.0.0"
11729+
prosemirror-transform "^1.1.0"
11730+
1160011731
proxy-addr@~2.0.7:
1160111732
version "2.0.7"
1160211733
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025"
@@ -14598,6 +14729,13 @@ y-prosemirror@1.2.13:
1459814729
dependencies:
1459914730
lib0 "^0.2.42"
1460014731

14732+
y-prosemirror@1.2.17:
14733+
version "1.2.17"
14734+
resolved "https://registry.yarnpkg.com/y-prosemirror/-/y-prosemirror-1.2.17.tgz#6c50cd87fd21f7cdb6617cee281d43a034215a56"
14735+
integrity sha512-9bmO5Vl6E3AH5JRQhJPWOmX4x0dwDZvfM86qd+w38G0j23VSV+ZvrKYBbKc1l44Tnyd7j7TWEuqBpzfOfbc4fw==
14736+
dependencies:
14737+
lib0 "^0.2.42"
14738+
1460114739
y-protocols@1.0.6, y-protocols@^1.0.6:
1460214740
version "1.0.6"
1460314741
resolved "https://registry.yarnpkg.com/y-protocols/-/y-protocols-1.0.6.tgz#66dad8a95752623443e8e28c0e923682d2c0d495"

0 commit comments

Comments
 (0)