Skip to content

Commit 89364cf

Browse files
committed
feat: show json in example from the start
1 parent 3ef2d9e commit 89364cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/examples/basic/blocks-json/blocks-json.example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class BlocksJsonExample {
5050

5151
async editorReady(editor: BlockNoteEditor) {
5252
this.editor = editor;
53-
// this.content = await this.editor.bl();
53+
this.content = JSON.stringify(editor.document, null, 2);
5454
}
5555
}
5656

0 commit comments

Comments
 (0)