Skip to content

Commit 0b7f426

Browse files
authored
Merge pull request #2092 from peachesontour/patch-10
The last 2 code snippets shouldn't be runnable
2 parents 92e9028 + 5c4adfa commit 0b7f426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2-ui/99-ui-misc/02-selection-range/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ The second API is very simple, as it works with text.
620620
The most used recipes are probably:
621621

622622
1. Getting the selection:
623-
```js run
623+
```js
624624
let selection = document.getSelection();
625625

626626
let cloned = /* element to clone the selected nodes to */;
@@ -632,7 +632,7 @@ The most used recipes are probably:
632632
}
633633
```
634634
2. Setting the selection:
635-
```js run
635+
```js
636636
let selection = document.getSelection();
637637

638638
// directly:

0 commit comments

Comments
 (0)