Skip to content

Commit 01478cd

Browse files
committed
Merge branch 'main' into default-blocks
2 parents 060108a + fb37d13 commit 01478cd

File tree

146 files changed

+4057
-2253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+4057
-2253
lines changed

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
## 0.36.0 (2025-08-25)
2+
3+
### 🚀 Features
4+
5+
- **docx:** add locale configuration for docx export ([#1937](https://github.com/TypeCellOS/BlockNote/pull/1937))
6+
7+
### 🩹 Fixes
8+
9+
- Editors in comments not inheriting theme ([#1890](https://github.com/TypeCellOS/BlockNote/pull/1890))
10+
- Minor drag & drop changes ([#1891](https://github.com/TypeCellOS/BlockNote/pull/1891))
11+
- Overflow on table blocks ([#1892](https://github.com/TypeCellOS/BlockNote/pull/1892))
12+
- Suggestion menu closing when clicking scroll bar ([#1899](https://github.com/TypeCellOS/BlockNote/pull/1899))
13+
- Table padding ([#1906](https://github.com/TypeCellOS/BlockNote/pull/1906))
14+
- Formatting toolbar getting wrong bounding box when updating React inline content ([#1908](https://github.com/TypeCellOS/BlockNote/pull/1908))
15+
- Vanilla blocks return true for editor.isEditable on initial render ([#1925](https://github.com/TypeCellOS/BlockNote/pull/1925))
16+
- table cell menu styling ([#1945](https://github.com/TypeCellOS/BlockNote/pull/1945))
17+
- Missing internationalization for toggle wrapper ([#1946](https://github.com/TypeCellOS/BlockNote/pull/1946))
18+
- parse image alt text for image blocks ([#1883](https://github.com/TypeCellOS/BlockNote/pull/1883))
19+
- initialize esm deps before copy extension uses it ([#1951](https://github.com/TypeCellOS/BlockNote/pull/1951))
20+
- error when dragging a block from one editor to another with multiple column extension ([#1950](https://github.com/TypeCellOS/BlockNote/pull/1950))
21+
- prevent infinite render loop when selecting all content ([#1956](https://github.com/TypeCellOS/BlockNote/pull/1956))
22+
- **core:** maintain text selection across table updates ([#1894](https://github.com/TypeCellOS/BlockNote/pull/1894))
23+
- **locales:** ko locale fix ([#1902](https://github.com/TypeCellOS/BlockNote/pull/1902))
24+
- **react:** add data attribute for correct react rendering ([#1954](https://github.com/TypeCellOS/BlockNote/pull/1954))
25+
- **xl-email-exporter:** better defaults, customize textStyles, output inline styles ([#1856](https://github.com/TypeCellOS/BlockNote/pull/1856))
26+
27+
### ❤️ Thank You
28+
29+
- Brad Greenlee
30+
- Cyril G @Ovgodd
31+
- Héctor Zhuang @Hector-Zhuang
32+
- Matthew Lipski @matthewlipski
33+
- Nick Perez
34+
- Nick the Sick
35+
136
## 0.35.0 (2025-07-25)
237

338
### 🚀 Features

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ BlockNote is 100% Open Source Software.
22

33
Source code in this repository is covered by the "Mozilla Public License Version 2.0" (MPL-2.0) license, except for the XL packages. The MPL-2.0 license allows you to use BlockNote in commercial (and closed-source) applications. If you make changes to the BlockNote source files, you're expected to publish these changes so the wider community can benefit as well.
44

5-
The XL packages (source code in the `packages/xl-*` directories and published in NPM as `@blocknote/xl-*`) are licensed under the "GNU Affero General Public License Version 3" (AGPL-3.0). Additionally, a commercial license is available. See our website (https://www.blocknotejs.org/pricing) for more information and the commercial license terms.
5+
The XL packages (source code in the `packages/xl-*` directories and published in NPM as `@blocknote/xl-*`) are licensed under the "GNU General Public License Version 3" (GPL-3.0). Additionally, a commercial license is available. See our website (https://www.blocknotejs.org/pricing) for more information and the commercial license terms.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The codebase is automatically tested using Vitest and Playwright.
9090

9191
BlockNote is 100% Open Source Software. The majority of BlockNote is licensed under the [MPL-2.0 license](LICENSE-MPL.txt), which allows you to use BlockNote in commercial (and closed-source) applications. If you make changes to the BlockNote source files, you're expected to publish these changes so the wider community can benefit as well. [Learn more](https://fossa.com/blog/open-source-software-licenses-101-mozilla-public-license-2-0/).
9292

93-
The XL packages (source code in the `packages/xl-*` directories and published in NPM as `@blocknote/xl-*`) are licensed under the AGPL-3.0. If you cannot comply with this license and want to use the XL libraries, you'll need a commercial license. Refer to [our website](https://www.blocknotejs.org/pricing) for more information.
93+
The XL packages (source code in the `packages/xl-*` directories and published in NPM as `@blocknote/xl-*`) are licensed under the GPL-3.0. If you cannot comply with this license and want to use the XL libraries, you'll need a commercial license. Refer to [our website](https://www.blocknotejs.org/pricing) for more information.
9494

9595
# Credits ❤️
9696

docs/app/(home)/faq/FAQ.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function FAQ() {
5959
<dt className="text-base font-semibold leading-7 text-gray-900 dark:text-white">
6060
{faq.question}
6161
</dt>
62-
<dd className="mt-2 text-base leading-7 text-gray-600 dark:text-gray-300">
62+
<dd className="prose mt-2 text-base leading-7 text-gray-600 dark:text-gray-300">
6363
{faq.answer}
6464
</dd>
6565
</div>

docs/app/docs/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { ReactNode } from "react";
2+
import { Analytics } from "@vercel/analytics/react";
23
import { baseOptions } from "@/app/layout.config";
34
import { CustomDocsLayout } from "@/components/CustomDocsLayout";
45
import { Footer } from "@/components/Footer";
@@ -11,6 +12,7 @@ export default function Layout({ children }: { children: ReactNode }) {
1112
{children}
1213
</CustomDocsLayout>
1314
<Footer />
15+
<Analytics />
1416
</>
1517
);
1618
}

docs/app/examples/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { ReactNode } from "react";
2+
import { Analytics } from "@vercel/analytics/react";
23
import { baseOptions } from "@/app/layout.config";
34
import { CustomDocsLayout } from "@/components/CustomDocsLayout";
45
import { Footer } from "@/components/Footer";
@@ -36,6 +37,7 @@ export default function Layout({ children }: { children: ReactNode }) {
3637
{children}
3738
</CustomDocsLayout>
3839
<Footer />
40+
<Analytics />
3941
</>
4042
);
4143
}

docs/app/layout.config.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ export const baseOptions: Partial<DocsLayoutProps & HomeLayoutProps> = {
9696
tabs: [
9797
{
9898
icon: (
99-
<FaBook className="border-fd-primary text-fd-primary bg-fd-primary/10 h-5 w-5 rounded-sm border p-0.5" />
99+
<FaBook className="border-fd-primary text-fd-primary bg-fd-primary/10 h-full w-full rounded-sm border p-2 md:p-0.5" />
100100
),
101101
title: "Documentation",
102102
description: "Learn how to use BlockNote",
103103
url: "/docs",
104104
},
105105
{
106106
icon: (
107-
<FaCode className="border-fd-primary text-fd-primary bg-fd-primary/10 h-5 w-5 rounded-sm border p-0.5" />
107+
<FaCode className="border-fd-primary text-fd-primary bg-fd-primary/10 h-full w-full rounded-sm border p-2 md:p-0.5" />
108108
),
109109
title: "Examples",
110110
description: "See BlockNote in action",

docs/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Banner } from "fumadocs-ui/components/banner";
22
import { RootProvider } from "fumadocs-ui/provider";
3+
import { Analytics } from "@vercel/analytics/react";
34
import { Metadata } from "next";
45
import type { ReactNode } from "react";
56

@@ -29,6 +30,7 @@ export default function Layout({ children }: { children: ReactNode }) {
2930
</a>
3031
</Banner>
3132
<RootProvider>{children as any}</RootProvider>
33+
<Analytics />
3234
</body>
3335
</html>
3436
);

docs/app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function NotFound() {
6363
useEffect(() => {
6464
const searchSimilarPages = async () => {
6565
try {
66-
const pathSegments = pathname.split("/").filter(Boolean);
66+
const pathSegments = (pathname ?? "").split("/").filter(Boolean);
6767
const searchTerms = pathSegments.slice(-2).join(" ");
6868

6969
if (!searchTerms) {

docs/app/pricing/faq.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const faqs = [
1818
<br />
1919
The XL packages (like AI integration, multi-column layouts, and
2020
exporters) are dual-licensed and available under{" "}
21-
<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a>, or -
21+
<a href="https://www.gnu.org/licenses/gpl-3.0.html">GPL-3.0</a>, or -
2222
for closed-source projects - a commercial license as part of the
2323
BlockNote Business subscription or above. See the{" "}
2424
<a href="/legal/blocknote-xl-commercial-license">
@@ -34,7 +34,7 @@ const faqs = [
3434
<>
3535
Only when you use any of the XL packages (like AI integration,
3636
multi-column layouts, and exporters) and you cannot comply with the
37-
AGPL-3.0 license you'll need a{" "}
37+
GPL-3.0 license you'll need a{" "}
3838
<a href="/legal/blocknote-xl-commercial-license">commercial license</a>.
3939
This is likely to be the case when you're building closed-source
4040
applications. The BlockNote Business subscription and above includes a
@@ -53,7 +53,7 @@ const faqs = [
5353
To sustainably support ongoing development, we offer a small set of
5454
advanced features (the XL packages) under a dual-license model:
5555
<ul>
56-
<li>AGPL-3.0 for open-source projects</li>
56+
<li>GPL-3.0 for open-source projects</li>
5757
<li>
5858
Commercial license (included in the BlockNote Business tier and
5959
above) for closed-source use

0 commit comments

Comments
 (0)