diff --git a/docs/reference/slate/change.md b/docs/reference/slate/change.md index 29feb8353..d02347f2f 100644 --- a/docs/reference/slate/change.md +++ b/docs/reference/slate/change.md @@ -555,6 +555,12 @@ Wrap the given node in a [`Block`](./block.md) node that match `properties`. For Wrap the given node in a [`Inline`](./inline.md) node that match `properties`. For convenience, you can pass a `type` string or `properties` object. +### `wrapNodeByKey` + +`wraNodeByKey(key: String, parent: Node) => Change`
+ +Wrap the node with the specified key with the parent [`Node`](./node.md). This will clear all children of the parent. + ## History Changes These changes use the history to undo/redo previously made changes.