Skip to content

Commit f6cb1f9

Browse files
committed
Reverted example changes
1 parent 467b33d commit f6cb1f9

File tree

1 file changed

+1
-11
lines changed
  • examples/01-basic/01-minimal/src

1 file changed

+1
-11
lines changed

examples/01-basic/01-minimal/src/App.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,7 @@ import { useCreateBlockNote } from "@blocknote/react";
55

66
export default function App() {
77
// Creates a new editor instance.
8-
const editor = useCreateBlockNote({
9-
initialContent: [
10-
{
11-
type: "paragraph",
12-
content: "Paragraph 1",
13-
},
14-
{
15-
type: "paragraph",
16-
},
17-
],
18-
});
8+
const editor = useCreateBlockNote();
199

2010
// Renders the editor instance using a React component.
2111
return <BlockNoteView editor={editor} />;

0 commit comments

Comments
 (0)