Skip to content

Commit 450aa5c

Browse files
committed
Merge branch 'main' into move-blocks-arg
2 parents fb147e4 + 447d9af commit 450aa5c

386 files changed

Lines changed: 3030 additions & 4898 deletions

File tree

Some content is hidden

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

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"fumadocs-ui": "npm:@fumadocs/base-ui@16.5.0",
8383
"lucide-react": "^0.562.0",
8484
"motion": "^12.28.1",
85-
"next": "^16.1.6",
85+
"next": "^16.2.6",
8686
"next-themes": "^0.4.6",
8787
"nodemailer": "^7.0.12",
8888
"pg": "^8.17.1",
@@ -122,7 +122,7 @@
122122
"@types/react-dom": "^19.2.3",
123123
"babel-plugin-react-compiler": "^1.0.0",
124124
"eslint": "^9.39.2",
125-
"eslint-config-next": "^16.1.6",
125+
"eslint-config-next": "^16.2.6",
126126
"next-validate-link": "^1.6.4",
127127
"postcss": "^8.5.6",
128128
"serve": "^14.2.6",

examples/01-basic/02-block-objects/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ export default function App() {
2626
type: "paragraph",
2727
content: "This is a paragraph block",
2828
},
29-
{
30-
type: "paragraph",
31-
},
3229
],
3330
});
3431

examples/01-basic/03-multi-column/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ export default function App() {
9090
},
9191
],
9292
},
93-
{
94-
type: "paragraph",
95-
},
9693
],
9794
});
9895

examples/01-basic/04-default-blocks/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ export default function App() {
145145
},
146146
],
147147
},
148-
{
149-
type: "paragraph",
150-
},
151148
],
152149
});
153150

examples/01-basic/07-selection-blocks/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export default function App() {
2121
type: "paragraph",
2222
content: "Select different blocks to see the JSON change below",
2323
},
24-
{
25-
type: "paragraph",
26-
},
2724
],
2825
});
2926

examples/01-basic/12-multi-editor/src/App.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ export default function App() {
3535
type: "paragraph",
3636
content: "This is a block in the first editor",
3737
},
38-
{
39-
type: "paragraph",
40-
},
4138
]}
4239
/>
4340
<Editor
@@ -51,9 +48,6 @@ export default function App() {
5148
type: "paragraph",
5249
content: "Try dragging blocks from one editor to the other",
5350
},
54-
{
55-
type: "paragraph",
56-
},
5751
]}
5852
/>
5953
</div>

examples/01-basic/16-read-only-editor/src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ export default function App() {
145145
},
146146
],
147147
},
148-
{
149-
type: "paragraph",
150-
},
151148
],
152149
});
153150

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"playground": true,
3+
"docs": false,
4+
"author": "matthewlipski",
5+
"tags": ["Basic"]
6+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# No Trailing Block
2+
3+
This example shows how to disable the automatic creation of a trailing block at the end of the editor by setting the `trailingBlock` option to `false`.
4+
5+
**Relevant Docs:**
6+
7+
- [Editor Setup](/docs/getting-started/editor-setup)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<html lang="en">
2+
<head>
3+
<meta charset="UTF-8" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
5+
<title>No Trailing Block</title>
6+
<script>
7+
<!-- AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY -->
8+
</script>
9+
</head>
10+
<body>
11+
<div id="root"></div>
12+
<script type="module" src="./main.tsx"></script>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)