add commands experiment

This commit is contained in:
Philipp Kühn
2021-01-21 12:13:20 +01:00
parent 001e5b7579
commit a2d5eef6b2
8 changed files with 305 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ Have a look at all of the core commands listed below. They should give you a goo
| Command | Description |
| --------------------- | --------------------------------------- |
| .blur() | Removes focus from the editor. |
| .deleteRange() | Delete a given range. |
| .deleteSelection() | Delete the selection, if there is one. |
| .focus() | Focus the editor at the given position. |
| .scrollIntoView() | Scroll the selection into view. |

View File

@@ -6,3 +6,4 @@ Congratulations! Youve found our secret playground with a list of experiments
* [Comments](/experiments/comments)
* [CharacterLimit](/experiments/character-limit)
* [Color](/experiments/color)
* [Commands](/experiments/commands)

View File

@@ -0,0 +1,5 @@
# Commands
⚠️ Experiment
<demo name="Experiments/Commands" highlight="" />