We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 467b33d commit f6cb1f9Copy full SHA for f6cb1f9
examples/01-basic/01-minimal/src/App.tsx
@@ -5,17 +5,7 @@ import { useCreateBlockNote } from "@blocknote/react";
5
6
export default function App() {
7
// Creates a new editor instance.
8
- const editor = useCreateBlockNote({
9
- initialContent: [
10
- {
11
- type: "paragraph",
12
- content: "Paragraph 1",
13
- },
14
15
16
17
- ],
18
- });
+ const editor = useCreateBlockNote();
19
20
// Renders the editor instance using a React component.
21
return <BlockNoteView editor={editor} />;
0 commit comments