add replaceRange command

This commit is contained in:
Philipp Kühn
2021-01-20 20:37:53 +01:00
parent 1880b43e37
commit 55d767d94c
5 changed files with 34 additions and 20 deletions

View File

@@ -147,7 +147,8 @@ Have a look at all of the core commands listed below. They should give you a goo
| .lift() | Removes an existing wrap. |
| .liftEmptyBlock() | Lift block if empty. |
| .newlineInCode() | Add a newline character in code. |
| .replace() | Replaces text with a node within a range. |
| .replace() | Replaces text with a node. |
| .replaceRange() | Replaces text with a node within a range. |
| .resetNodeAttributes() | Resets all node attributes to the default value. |
| .selectParentNode() | Select the parent node. |
| .setMark() | Add a mark with new attributes. |