1
0
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:
Dylan Schiemann
2025-03-21 14:14:24 -07:00
committed by GitHub
parent 68915e8cfa
commit 6eb4bdff06

View File

@@ -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?)`