Skip to content

Commit

Permalink
Update Transforms.setNodes documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
thesunny committed Aug 8, 2024
1 parent b8bf92d commit 2c9d5ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api/transforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ Options supported: `NodeOptions & {split?: boolean}`. For `options.mode`, `'all'

Set properties of nodes at the specified location. If no location is specified, use the selection.

if `props` contains `undefined` values, the node's corresponding property will also be set to `undefined` as opposed to ignored.

Options supported: `NodeOptions & {hanging?: boolean, split?: boolean}`. For `options.mode`, `'all'` is also supported.

#### `Transforms.unsetNodes(editor: Editor, props: string | string[], options?)`
Expand Down

0 comments on commit 2c9d5ec

Please sign in to comment.