diff --git a/docs/reference/slate/commands.md b/docs/reference/slate/commands.md index b496d9725..c25f7e96f 100644 --- a/docs/reference/slate/commands.md +++ b/docs/reference/slate/commands.md @@ -26,6 +26,8 @@ Delete everything in the current selection. `insertBlock(properties: Object) => Editor`
`insertBlock(type: String) => Editor` +Insert a new block at the same level as the current block, splitting the current block to make room if it is non-empty. If the selection is expanded, it will be deleted first. + ### `deleteBackward` `deleteBackward(n: Number) => Editor` @@ -38,8 +40,6 @@ Delete backward `n` characters at the current cursor. If the selection is expand Delete forward `n` characters at the current cursor. If the selection is expanded, this method is equivalent to a regular [`delete()`](#delete). `n` defaults to `1`. -Insert a new block at the same level as the current block, splitting the current block to make room if it is non-empty. If the selection is expanded, it will be deleted first. - ### `insertFragment` `insertFragment(fragment: Document) => Editor`