Skip to content

fix: backslash newlines when copying from a code block #7806

fix: backslash newlines when copying from a code block

fix: backslash newlines when copying from a code block #7806

Triggered via pull request May 13, 2026 08:46
Status Success
Total duration 5m 28s
Artifacts 15

build.yml

on: pull_request
Matrix: playwright
Merge Playwright Reports
46s
Merge Playwright Reports
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 7 notices
[webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:12:7 › Check Multi-Column Behaviour › Check Delete before column: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:12:7 › Check Multi-Column Behaviour › Check Delete before column Error: expect(string).toMatchSnapshot(expected) @@ -86,37 +86,15 @@ "isToggleable": false }, "content": [ { "type": "text", - "text": "So is this heading!" + "text": "So is this heading!You can have multiple blocks in a column too" } ] } ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "7" - }, - "content": [ - { - "type": "paragraph", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left" - }, - "content": [ - { - "type": "text", - "text": "You can have multiple blocks in a column too" - } - ] - } - ] } ] }, { "type": "column", Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/multicolumn/multicolumn.test.ts-snapshots/deleteBeforeColumn-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/multicolumn-multicolumn-Ch-2fd07--Check-Delete-before-column-webkit/deleteBeforeColumn-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/multicolumn/multicolumn.test.ts:23:5
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/end-to-end/images/images.test.ts#L95
1) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 1232 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-diff.png 93 | await page.waitForTimeout(500); 94 | await compareDocToSnapshot(page, "resizeImage"); > 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png"); | ^ 96 | }); 97 | test("Should be able to delete image with backspace", async ({ page }) => { 98 | await page.goto(BASE_URL); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/end-to-end/images/images.test.ts#L95
1) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(Buffer).toMatchSnapshot(expected) 1232 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-diff.png 93 | await page.waitForTimeout(500); 94 | await compareDocToSnapshot(page, "resizeImage"); > 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png"); | ^ 96 | }); 97 | test("Should be able to delete image with backspace", async ({ page }) => { 98 | await page.goto(BASE_URL); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
Build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "ec02d44e00dd5d4858f47c13e1ba4d03f827a323", "ref": "2709", "headBranch": "feat/fix-codeblock-copy" }, "key": "oE3IUwhBpI", "runId": 25788495529, "webhookDebug": { "action": "requested", "head_branch": "feat/fix-codeblock-copy", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2709, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:feat/fix-codeblock-copy", "oldPrDataHash": "1YEz4P0vQB", "lookupKey": "TypeCellOS/BlockNote:feat/fix-codeblock-copy", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "ec02d44e00dd5d4858f47c13e1ba4d03f827a323", "ref": "2709", "headBranch": "feat/fix-codeblock-copy" } }, "currentCursor": { "sha": "eb3498b6aa3e8f026383b16fb8c325126bc35887", "timestamp": 25385690327 }, "pkgPrNewVersion": "0.0.71" }
🎭 Playwright Run Summary
43 passed (37.0s)
🎭 Playwright Run Summary
1 skipped 42 passed (47.3s)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/multicolumn/multicolumn.test.ts:12:7 › Check Multi-Column Behaviour › Check Delete before column 42 passed (1.1m)
🎭 Playwright Run Summary
2 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
16 skipped 78 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image 12 skipped 81 passed (2.2m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:97378fdcc4184ca06c60cda844a194f9dcacc236ca70b822b8d27cd8ac613e12
blob-report-chromium-2 Expired
52.5 KB
sha256:d31cb15fa31dd21e8c8c321620ce0f7dee538cddcf917b1e724a05da5ac61750
blob-report-firefox-1 Expired
113 KB
sha256:a1fc20a61ea1ce78e77f321c39c941c21c20e8ecc7dd9eb4f69a0a0e07e65816
blob-report-firefox-2 Expired
52.1 KB
sha256:2752f7ce62153beefb577154063c67b08e71f87e6c69fa04619d7c2f08d17887
blob-report-webkit-1 Expired
837 KB
sha256:6e07f1e5f4af3990e9b97bf42ae9d42cb2e5064c45e7cfabfb1405c49e057348
blob-report-webkit-2 Expired
853 KB
sha256:0441baba8b8a591062a6d2846a705905b3db4eab056c11b681a0dc74924abf54
playwright-build Expired
21.2 MB
sha256:bb1e89db10c25325455e3d6d76a3d7bdb7c8eb08f7c1f0ced2400bbebf65a646
playwright-report-chromium-1 Expired
260 KB
sha256:a95136c8ffbd1e3236660e1c47893a8579303f73336547c0673ce522fbc331e1
playwright-report-chromium-2 Expired
210 KB
sha256:435bcd6bffb69815187a2a90af5cf7598c80d7ba68710ed5a3f4f6e742a08b7b
playwright-report-firefox-1 Expired
250 KB
sha256:803987e571d468de4a44e64c366b6ba2045a880dc4130d84e47805162c3637c5
playwright-report-firefox-2 Expired
209 KB
sha256:26170a9a2cf412a4f68a5a204209fd9435f02cb3368795839cdef94d430a62be
playwright-report-merged Expired
2.01 MB
sha256:a4d6875ea7703d57da7aecb24b130d0332384edb1306f03cbb230a295e976591
playwright-report-webkit-1 Expired
1.16 MB
sha256:4ed94ad738c14099f7299680ab1f62137c127a290e3bb586894cee82b68ce40c
playwright-report-webkit-2 Expired
1.36 MB
sha256:adad9c081949efdeed3f3ea793db5b619ca3c4c2a00d60900b289deba2882615
relative-ci-artifacts-editor
44.8 KB
sha256:d4887449973a7645dbf7a6479bace24b2d0348020132b2b23d45d07a5bfb15f5