Add cursor_position to serialize_elem output

This commit is contained in:
Luca Benci 2017-10-12 22:42:40 +02:00
parent 07b1b3fbd4
commit f43a597370

View File

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