rename toggleNode to toggleBlockType

This commit is contained in:
Philipp Kühn
2020-09-24 22:27:17 +02:00
parent 2d0c5eb737
commit 570e67b085
8 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ editor.chain().focus().bold().run()
| .replaceWithNode() | Replace a given range with a node. |
| .selectParentNode() | Select the parent node. |
| .toggleMark() | Toggle a mark on and off. |
| .toggleNode() | Toggle a node with another node. |
| .toggleBlockType() | Toggle a node with another node. |
| .updateMark() | Update a mark with new attributes. |
### Selection