Merge pull request #4038 from marcuslyons/patch-1

fix: typo in commands.md
This commit is contained in:
Jan Thurau 2023-05-18 22:04:57 +02:00 committed by GitHub
commit d61a621186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ All available commands are accessible through an editor instance. Lets say yo
editor.commands.setBold()
```
While thats perfectly fine and does make the selected bold, youd likely want to change multiple commands in one run. Lets have a look at how that works.
While thats perfectly fine and does make the selected bold, youd likely want to chain multiple commands in one run. Lets have a look at how that works.
### Chain commands
Most commands can be combined to one call. Thats shorter than separate function calls in most cases. Here is an example to make the selected text bold: