Open azaslavsky opened 11 years ago
I'd like to somehow retrieve the cursor position/what the user has just highlighted. Is that possible?
Not an ideal solution, but the workaround I've been using utilizes the window.getSelection() object:
https://developer.mozilla.org/en-US/docs/Web/API/window.getSelection
Did you find the solution?
I'd like to somehow retrieve the cursor position/what the user has just highlighted. Is that possible?