mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-08 16:26:29 +02:00
fix prettier formatting (#5831)
This commit is contained in:
@@ -13,8 +13,6 @@ Transforms are helper functions operating on the document. They can be used in d
|
||||
|
||||
All transforms support a parameter `options`. This includes options specific to the transform and general `NodeOptions` to specify which Nodes in the document the transform is applied to.
|
||||
|
||||
|
||||
|
||||
```typescript
|
||||
interface NodeOptions {
|
||||
at?: Location
|
||||
@@ -99,7 +97,6 @@ Set properties of nodes at the specified location. If no location is specified,
|
||||
|
||||
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