diff --git a/README.md b/README.md index 50107f7..b776693 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ Returns the path through the DOM tree from the `` element to the current c ### getSelection -Returns a W3C Range object representing the current selection/cursor position. +Returns a [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the current selection/cursor position. ### setSelection @@ -150,7 +150,7 @@ Changes the current selection/cursor position. The method takes one argument: -* **range**: The W3C Range object representing the desired selection. +* **range**: The [W3C Range object](https://developer.mozilla.org/en-US/docs/Web/API/Range) representing the desired selection. Returns self (the Squire instance).