https://bugzilla.wikimedia.org/show_bug.cgi?id=29467
Roan Kattouw roan.katt...@gmail.com changed:
What|Removed |Added
CC|
https://bugzilla.wikimedia.org/show_bug.cgi?id=29467
--- Comment #4 from Brion Vibber br...@wikimedia.org 2011-06-18 17:59:08 UTC
---
Also need to take into account that text may come from paste operations rather
than keypresses.
--
Configure bugmail:
https://bugzilla.wikimedia.org/show_bug.cgi?id=29467
--- Comment #1 from mybugs.m...@gmail.com 2011-06-18 01:46:30 UTC ---
It seems that each browser has its own way to get the selected text, so this
may be useful:
http://www.codetoad.com/javascript_get_selected_text.asp
--
Configure bugmail:
https://bugzilla.wikimedia.org/show_bug.cgi?id=29467
--- Comment #2 from mybugs.m...@gmail.com 2011-06-18 01:52:02 UTC ---
Or we could add a module with a jQuery plugin for that. E.g.:
https://github.com/localhost/jquery-fieldselection/blob/master/jquery-fieldselection.js
--
Configure bugmail: