Skip to content

Commit

Permalink
added missing argument in function's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Nov 27, 2022
1 parent e33ba14 commit 1ec88c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parts/helpers.js
Expand Up @@ -241,6 +241,7 @@ export function getCaretGlobalPosition(){
/**
* Injects content (either string or node) at the current the current (or specificed) caret position
* @param {content} string/node
* @param {range} Object (optional, a range other than the current window selection)
*/
export function injectAtCaret(content, range){
var selection = window.getSelection();
Expand Down

0 comments on commit 1ec88c3

Please sign in to comment.