Skip to content

Commit a509093

Browse files
authored
Update transforms.md
grammar fixes
1 parent 7a8ab18 commit a509093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/transforms.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ Transforms that operate on nodes.
3838

3939
#### `Transforms.insertFragment(editor: Editor, fragment: Node[], options?)`
4040

41-
Insert of fragment of nodes at the specified location or (if not defined) the current selection or (if not defined) the end of the document.
41+
Insert a fragment of nodes at the specified location or (if not defined) the current selection or (if not defined) the end of the document.
4242

4343
Options: `{at?: Location, hanging?: boolean, voids?: boolean}`
4444

4545
#### `Transforms.insertNodes(editor: Editor, nodes: Node | Node[], options?)`
4646

47-
Atomically inserts `nodes` at the specified location or (if not defined) the current selection or (if not defined) the end of the document.
47+
Atomically insert `nodes` at the specified location or (if not defined) the current selection or (if not defined) the end of the document.
4848

4949
Options supported: `NodeOptions & {hanging?: boolean, select?: boolean}`.
5050

0 commit comments

Comments
 (0)