♻️(frontend) adapt custom blocks to new implementation

Last release of Blocknote introduced breaking
changes for custom blocks.
We adapted our custom blocks to the new
implementation.
"code-block" is considered as a block now, we
update the way to import and use it.
The custom blocks should be now more tiptap friendly.
This commit is contained in:
Anthony LC
2025-10-16 12:10:05 +02:00
parent aca334f81f
commit fe24c00178
30 changed files with 1720 additions and 3066 deletions

View File

@@ -20,6 +20,7 @@
"@hocuspocus/server": "2.15.2",
"@sentry/node": "10.17.0",
"@sentry/profiling-node": "10.17.0",
"@tiptap/extensions": "*",
"axios": "1.12.2",
"cors": "2.8.5",
"express": "5.1.0",
@@ -29,6 +30,7 @@
"yjs": "*"
},
"devDependencies": {
"@blocknote/core": "0.41.1",
"@hocuspocus/provider": "2.15.2",
"@types/cors": "2.8.19",
"@types/express": "5.0.3",