Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/src/editor/BlockNoteExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const getBlockNoteExtensions = <

// marks:
Link.extend({
inclusive: false,
addKeyboardShortcuts() {
return {
"Mod-k": () => {
Expand Down
1 change: 1 addition & 0 deletions tests/src/end-to-end/ariakit/ariakit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test.describe("Check Ariakit UI", () => {

await page.keyboard.type("link");
await page.keyboard.press("Enter");
await page.keyboard.press("ArrowLeft");

await page.waitForTimeout(500);
expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/src/end-to-end/shadcn/shadcn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test.describe("Check ShadCN UI", () => {

await page.keyboard.type("link");
await page.keyboard.press("Enter");
await page.keyboard.press("ArrowLeft");

await page.waitForTimeout(500);
expect(await page.screenshot()).toMatchSnapshot("shadcn-link-toolbar.png");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tests/src/end-to-end/theming/theming.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@

await page.keyboard.type("link");
await page.keyboard.press("Enter");
await page.keyboard.press("ArrowLeft");

await page.waitForTimeout(500);
expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png");

Check failure on line 51 in tests/src/end-to-end/theming/theming.test.ts

View workflow job for this annotation

GitHub Actions / Build

[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar

1) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar Error: Screenshot comparison failed: 12254 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-diff.png 49 | 50 | await page.waitForTimeout(500); > 51 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 52 | }); 53 | test("Should show dark slash menu", async ({ page }) => { 54 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:51:37
});
test("Should show dark slash menu", async ({ page }) => {
await focusOnEditor(page);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading