mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-08-06 13:38:49 +08:00
Merge pull request #4038 from marcuslyons/patch-1
fix: typo in commands.md
This commit is contained in:
commit
d61a621186
@ -14,7 +14,7 @@ All available commands are accessible through an editor instance. Let’s say yo
|
||||
editor.commands.setBold()
|
||||
```
|
||||
|
||||
While that’s perfectly fine and does make the selected bold, you’d likely want to change multiple commands in one run. Let’s have a look at how that works.
|
||||
While that’s perfectly fine and does make the selected bold, you’d likely want to chain multiple commands in one run. Let’s have a look at how that works.
|
||||
|
||||
### Chain commands
|
||||
Most commands can be combined to one call. That’s shorter than separate function calls in most cases. Here is an example to make the selected text bold:
|
||||
|
Loading…
Reference in New Issue
Block a user