update doc pages

This commit is contained in:
Philipp Kühn
2020-11-13 11:52:02 +01:00
parent 070ea8fbe0
commit b2592c2a04
5 changed files with 12 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ The editor provides a ton of commands to programmtically add or change content o
All available commands are accessible through an editor instance. Lets say you want to make text bold when a user clicks on a button. Thats how that would look like:
```js
editor.bold()
editor.commands.bold()
```
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.