See https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/Cristal/0.20/ .
Unfortunately I get this test failure:
[INFO] --- frontend:1.15.1:pnpm (pnpm-run-test) @ xwiki-platform-blocknote-webjar --- [INFO] Running 'pnpm run test' in /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node [INFO] [INFO] > xwiki-platform-blocknote@0.0.0 test /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node [INFO] > vitest --run [INFO] [INFO] [INFO] RUN v3.2.4 /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node [INFO] [INFO] ✓ src/services/Factory.test.js (1 test) 2ms [INFO] stdout | src/services/Logic.test.js > Logic > should create a BlockNote instance [INFO] <Suspense> is an experimental feature and its API will likely change. [INFO] [INFO] stderr | src/services/Logic.test.js > Logic > should create a BlockNote instance [INFO] [Vue warn]: Unhandled error during execution of setup function [INFO] at <CBlocknoteView ref="editor" editor-props= { [INFO] blockNoteOptions: { defaultStyles: false }, [INFO] theme: 'light', [INFO] lang: 'en', [INFO] macros: [ [INFO] { [INFO] name: 'XWikiMacroHtmlBlock', [INFO] description: '', [INFO] parameters: [Object], [INFO] hidden: false, [INFO] renderType: 'block', [INFO] blockNote: [Object] [INFO] }, [INFO] { [INFO] name: 'XWikiMacroInlineHtml', [INFO] description: '', [INFO] parameters: [Object], [INFO] hidden: false, [INFO] renderType: 'inline', [INFO] blockNote: [Object] [INFO] } [INFO] ] [INFO] } editor-content= { blocks: [] } ... > [INFO] at <XWikiBlockNote ref="editor" name=undefined initial-value=undefined ... > [INFO] at <XWikiBlockNoteWrapper initialValue=undefined > [INFO] [INFO] ✓ src/services/Logic.test.js (1 test) 18ms [INFO] ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ [INFO] [INFO] Vitest caught 1 unhandled error during the test run. [INFO] This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. [INFO] [INFO] ⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯ [INFO] TypeError: Cannot define property blocknote-container, object is not extensible [INFO] ❯ $n node_modules/.pnpm/@xwiki+cristal-editors-blocknote-headless@0.20.0_@hocuspocus+provider@2.15.2_y-protocol_ea794a1a730d9d60dc0cd68e3a613009/node_modules/node_modules/.pnpm/@vue+runtime-core@3.5.17/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:1511:21 [INFO] ❯ setup node_modules/.pnpm/@xwiki+cristal-editors-blocknote-headless@0.20.0_@hocuspocus+provider@2.15.2_y-protocol_ea794a1a730d9d60dc0cd68e3a613009/node_modules/@xwiki/cristal-editors-blocknote-headless/src/vue/c-blocknote-view.vue:156:17 [INFO] ❯ processTicksAndRejections node:internal/process/task_queues:105:5 [INFO] [INFO] This error originated in "src/services/Logic.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. [INFO] ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [INFO] [INFO] [INFO] Test Files 2 passed (2) [INFO] Tests 2 passed (2) [INFO] Errors 1 error [INFO] Start at 18:57:43 [INFO] Duration 1.94s (transform 317ms, setup 0ms, collect 1.39s, tests 20ms, environment 522ms, prepare 153ms)