⬇️(frontend) downgraded blocknote to 0.21.0

The last version of Blocknote (0.22.0) has a bug,
when we copy paste a title, the app sometimes crashes.
Better to downgrade to 0.21.0 until the bug is fixed.
This commit is contained in:
Anthony LC
2025-01-17 11:14:28 +01:00
committed by Anthony LC
parent d406846986
commit dc63a5839e
4 changed files with 79 additions and 14 deletions

View File

@@ -395,7 +395,9 @@ test.describe('Doc Header', () => {
navigator.clipboard.readText(),
);
const clipboardContent = await handle.jsonValue();
expect(clipboardContent.trim()).toBe(`<h1>Hello World</h1><p></p>`);
expect(clipboardContent.trim()).toBe(
`<h1 data-level=\"1\">Hello World</h1><p></p>`,
);
});
test('it checks the copy link button', async ({ page }) => {