mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-23 15:32:59 +02:00
Update Transforms.setNodes documentation
This commit is contained in:
@@ -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?)`
|
||||
|
Reference in New Issue
Block a user