Skip to content

Commit efdcfcd

Browse files
committed
docs: fix wrong api call
1 parent 5814f08 commit efdcfcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/docs/editor-api/manipulating-blocks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ insertBlocks(
119119
): void;
120120

121121
// Usage
122-
editor.insertBlocks([{type: "paragraph", text: "Hello World"}], referenceBlock, placement)
122+
editor.insertBlocks([{type: "paragraph", content: "Hello World"}], referenceBlock, placement)
123123
```
124124

125125
`blocksToInsert:` An array of [partial blocks](/docs/editor-api/manipulating-blocks#partial-blocks) that should be inserted.

0 commit comments

Comments
 (0)