diff --git a/docs/src/docPages/api/commands/focus.md b/docs/src/docPages/api/commands/focus.md
index 97fce204..6d6c6719 100644
--- a/docs/src/docPages/api/commands/focus.md
+++ b/docs/src/docPages/api/commands/focus.md
@@ -1,3 +1,15 @@
# focus
+
+## Usage
+```js
+// Set the focus to the editor
+editor.commands.focus()
+
+// Set the cursor to the first position
+editor.commands.focus('start')
+
+// Set the cursor to the last position
+editor.commands.focus('end')
+```
diff --git a/docs/src/docPages/api/commands/set-text-selection.md b/docs/src/docPages/api/commands/set-text-selection.md
index 2410d481..b579e2ec 100644
--- a/docs/src/docPages/api/commands/set-text-selection.md
+++ b/docs/src/docPages/api/commands/set-text-selection.md
@@ -1,3 +1,18 @@
# setTextSelection
+
+## Parameters
+`position: number | Range`
+
+TODO
+
+## Usage
+```js
+// Set the cursor to the specified position
+editor.commands.setTextSelection(10)
+
+// Set the text selection to the specified range
+editor.commands.setTextSelection({ from: 5, to: 10 })
+```
+