Skip to content

Commit 193ceaa

Browse files
committed
Merge branch 'main' into new-releases
# Conflicts: # examples/editor/package.json # package-lock.json # packages/react/package.json
2 parents a6a9389 + 509470b commit 193ceaa

File tree

117 files changed

+11987
-13078
lines changed

Some content is hidden

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

117 files changed

+11987
-13078
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Play with the editor @ [https://blocknote-main.vercel.app/](https://blocknote-ma
3535

3636
```typescript
3737
import { BlockNoteView, useBlockNote } from "@blocknote/react";
38-
import "@blocknote/core/style.css";
38+
import "@blocknote/react/style.css";
3939

4040
function App() {
4141
const editor = useBlockNote({

examples/editor/examples/basic/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { uploadToTmpFilesDotOrg_DEV_ONLY } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import { BlockNoteView, useBlockNote } from "@blocknote/react";
3+
import "@blocknote/react/style.css";
44

55
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
66

examples/editor/examples/collaboration/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { uploadToTmpFilesDotOrg_DEV_ONLY } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import { BlockNoteView, useBlockNote } from "@blocknote/react";
3+
import "@blocknote/react/style.css";
44

55
import YPartyKitProvider from "y-partykit/provider";
66
import * as Y from "yjs";

examples/editor/examples/react-custom-blocks/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defaultBlockSpecs, defaultProps } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import {
43
BlockNoteView,
54
createReactBlockSpec,
65
useBlockNote,
76
} from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88
import "../vanilla-custom-blocks/style.css";
99

1010
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };

examples/editor/examples/react-custom-inline-content/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { defaultInlineContentSpecs } from "@blocknote/core";
2-
import "@blocknote/core/style.css";
32
import {
43
BlockNoteView,
54
createReactInlineContentSpec,
65
useBlockNote,
76
} from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88

99
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1010

examples/editor/examples/react-custom-styles/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
DefaultInlineContentSchema,
55
defaultStyleSpecs,
66
} from "@blocknote/core";
7-
import "@blocknote/core/style.css";
87
import {
98
BlockNoteView,
109
createReactStyleSpec,
@@ -14,6 +13,7 @@ import {
1413
useActiveStyles,
1514
useBlockNote,
1615
} from "@blocknote/react";
16+
import "@blocknote/react/style.css";
1717

1818
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1919

examples/editor/examples/vanilla-custom-blocks/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
defaultBlockSpecs,
44
defaultProps,
55
} from "@blocknote/core";
6-
import "@blocknote/core/style.css";
76
import { BlockNoteView, useBlockNote } from "@blocknote/react";
7+
import "@blocknote/react/style.css";
88
import "./style.css";
99

1010
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };

examples/editor/examples/vanilla-custom-inline-content/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import {
22
createInlineContentSpec,
33
defaultInlineContentSpecs,
44
} from "@blocknote/core";
5-
import "@blocknote/core/style.css";
65
import { BlockNoteView, useBlockNote } from "@blocknote/react";
6+
import "@blocknote/react/style.css";
77

88
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
99

examples/editor/examples/vanilla-custom-styles/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
DefaultInlineContentSchema,
66
defaultStyleSpecs,
77
} from "@blocknote/core";
8-
import "@blocknote/core/style.css";
98
import {
109
BlockNoteView,
1110
FormattingToolbarPositioner,
@@ -14,6 +13,7 @@ import {
1413
useActiveStyles,
1514
useBlockNote,
1615
} from "@blocknote/react";
16+
import "@blocknote/react/style.css";
1717

1818
type WindowWithProseMirror = Window & typeof globalThis & { ProseMirror: any };
1919

examples/editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@blocknote/core": "^0.10.1",
1414
"@blocknote/react": "^0.10.1",
15-
"@mantine/core": "^5.6.1",
15+
"@mantine/core": "^7.3.1",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
1818
"react-router-dom": "^6.20.0",

0 commit comments

Comments
 (0)