diff --git a/qutebrowser/javascript/webelem.js b/qutebrowser/javascript/webelem.js index ce348c46b..a37fcd6c8 100644 --- a/qutebrowser/javascript/webelem.js +++ b/qutebrowser/javascript/webelem.js @@ -53,6 +53,7 @@ window._qutebrowser.webelem = (function() { "value": elem.value, "outer_xml": elem.outerHTML, "rects": [], // Gets filled up later + "caret_position": elem.selectionStart, }; // https://github.com/qutebrowser/qutebrowser/issues/2569