Skip to content

Commit 506baa4

Browse files
committed
Merge branch 'main' into chore/trim-unnecessary-dependencies
# Conflicts: # packages/code-block/package.json # packages/mantine/package.json # packages/server-util/package.json # packages/xl-ai/package.json # packages/xl-email-exporter/package.json # packages/xl-pdf-exporter/package.json # pnpm-lock.yaml
2 parents 1def215 + e0c67af commit 506baa4

33 files changed

Lines changed: 507 additions & 225 deletions

File tree

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,12 @@ updates:
5757
- "y-prosemirror"
5858
cooldown:
5959
default-days: 7
60+
- package-ecosystem: "github-actions"
61+
directory: "/"
62+
schedule:
63+
interval: "weekly"
64+
commit-message:
65+
prefix: "ci"
66+
include: "scope"
67+
cooldown:
68+
default-days: 7

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.51.4 (2026-06-02)
2+
3+
### 🩹 Fixes
4+
5+
- add explicit type annotations for callback params losing contextual typing ([#2815](https://github.com/TypeCellOS/BlockNote/pull/2815))
6+
- Comments emoji picker button issues (BLO-1199) ([#2769](https://github.com/TypeCellOS/BlockNote/pull/2769))
7+
- **core:** add editor cleanup in BlockNoteEditor.test.ts to prevent unhandled DOMObserver errors ([#2816](https://github.com/TypeCellOS/BlockNote/pull/2816))
8+
- **table:** prevent crash when pressing Enter in a table cell ([#2793](https://github.com/TypeCellOS/BlockNote/pull/2793))
9+
10+
### ❤️ Thank You
11+
12+
- Matthew Lipski @matthewlipski
13+
- Nick Perez
14+
- Nick the Sick @nperez0111
15+
- Yuki Terashima @y-temp4
16+
117
## 0.51.3 (2026-05-26)
218

319
### 🩹 Fixes

docs/content/pages/thanks.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ Your support means the world to us and helps us continue developing and maintain
1313

1414
## What's Next?
1515

16-
- **Access to Examples:** You now have full access to our comprehensive [examples](/examples) to help you get the most out of BlockNote.
16+
- **Get started with BlockNote:** Head to our [documentation](/docs) to get started with BlockNote.
1717
- **Priority GitHub Support:** As a subscriber, your GitHub issues will be prioritized, ensuring a faster resolution.
18-
- **Private Discord Channel:** Want to connect with us and other power users? Contact us via our [about page](/about) to get an invite to our private Discord channel.
1918
- **Showcase Your Support:** We'd love to show our gratitude for your sponsorship! If you'd like, you can send us your company logo by contacting us via our [about page](/about), and we'll feature it on our site.
2019

2120
We truly appreciate your subscription and your commitment to open-source software.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"vitest": "^4.1.2",
1919
"wait-on": "9.0.5"
2020
},
21-
"packageManager": "pnpm@11.3.0+sha512.2c403d6594527287672b1f7056343a1f7c3634036a67ffabfcc2b3d7595d843768f8787148d1b57cf7956c90606bbd192857c363af19e96d2d0ec9ec5741d215",
21+
"packageManager": "pnpm@11.5.1+sha512.93f7b57422ea7068257235b4c16eb60762eb68e1dc23723199cc739043ea9be2c4143274a399d8c6defa2b1176226d9ca1c4b63482d6200c1a8fbaa78c1d1485",
2222
"private": true,
2323
"scripts": {
2424
"dev": "nx run @blocknote/example-editor:dev",

packages/ariakit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"directory": "packages/ariakit"
1212
},
1313
"license": "MPL-2.0",
14-
"version": "0.51.3",
14+
"version": "0.51.4",
1515
"files": [
1616
"dist",
1717
"types",
@@ -57,8 +57,8 @@
5757
},
5858
"dependencies": {
5959
"@ariakit/react": "^0.4.19",
60-
"@blocknote/core": "0.51.3",
61-
"@blocknote/react": "0.51.3"
60+
"@blocknote/core": "0.51.4",
61+
"@blocknote/react": "0.51.4"
6262
},
6363
"devDependencies": {
6464
"@types/react": "^19.2.3",

packages/ariakit/src/badge/Badge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88

99
import { assertEmpty, mergeCSSClasses } from "@blocknote/core";
1010
import { ComponentProps } from "@blocknote/react";
11-
import { forwardRef } from "react";
11+
import { type MouseEvent, forwardRef } from "react";
1212

1313
export const Badge = forwardRef<
1414
HTMLButtonElement,
@@ -36,7 +36,7 @@ export const Badge = forwardRef<
3636
isSelected && "bn-ak-primary",
3737
)}
3838
aria-selected={isSelected === true}
39-
onClick={(event) => onClick?.(event)}
39+
onClick={(event: MouseEvent<HTMLButtonElement>) => onClick?.(event)}
4040
onMouseEnter={onMouseEnter}
4141
ref={ref}
4242
>

packages/ariakit/src/panel/Panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const Panel = forwardRef<
3232
<AriakitTabProvider
3333
defaultSelectedId={defaultOpenTab}
3434
selectedId={openTab}
35-
setActiveId={(activeId) => {
35+
setActiveId={(activeId: string | null | undefined) => {
3636
if (activeId) {
3737
setOpenTab(activeId);
3838
}

packages/ariakit/src/panel/PanelFileInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55

66
import { assertEmpty } from "@blocknote/core";
77
import { ComponentProps } from "@blocknote/react";
8-
import { forwardRef } from "react";
8+
import { forwardRef, type ChangeEvent } from "react";
99

1010
export const PanelFileInput = forwardRef<
1111
HTMLInputElement,
@@ -24,7 +24,7 @@ export const PanelFileInput = forwardRef<
2424
type={"file"}
2525
accept={accept}
2626
value={value ? value.name : undefined}
27-
onChange={async (e) => onChange?.(e.target.files![0])}
27+
onChange={async (e: ChangeEvent<HTMLInputElement>) => onChange?.(e.target.files![0])}
2828
placeholder={placeholder}
2929
/>
3030
</AriakitFormProvider>

packages/ariakit/src/toolbar/ToolbarButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77

88
import { assertEmpty, isSafari, mergeCSSClasses } from "@blocknote/core";
99
import { ComponentProps } from "@blocknote/react";
10-
import { forwardRef } from "react";
10+
import { forwardRef, type MouseEvent } from "react";
1111

1212
type ToolbarButtonProps = ComponentProps["Generic"]["Toolbar"]["Button"];
1313

@@ -46,7 +46,7 @@ export const ToolbarButton = forwardRef<HTMLButtonElement, ToolbarButtonProps>(
4646
)}
4747
// Needed as Safari doesn't focus button elements on mouse down
4848
// unlike other browsers.
49-
onMouseDown={(e) => {
49+
onMouseDown={(e: MouseEvent<HTMLButtonElement>) => {
5050
if (isSafari()) {
5151
(e.currentTarget as HTMLButtonElement).focus();
5252
}

packages/code-block/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"directory": "packages/code-block"
1010
},
1111
"license": "MPL-2.0",
12-
"version": "0.51.3",
12+
"version": "0.51.4",
1313
"files": [
1414
"dist",
1515
"types",
@@ -66,7 +66,7 @@
6666
"vitest": "^4.1.2"
6767
},
6868
"peerDependencies": {
69-
"@blocknote/core": "0.51.3"
69+
"@blocknote/core": "0.51.4"
7070
},
7171
"eslintConfig": {
7272
"extends": [

0 commit comments

Comments
 (0)