https://bugzilla.wikimedia.org/show_bug.cgi?id=29467
--- Comment #8 from Krinkle <[email protected]> 2011-07-11 19:47:32 UTC --- brion and me had a little brainstorm on IRC earlier today, perhaps we can just drop trying to determine all the edgecases for insertion and handling them each. Instead don't prevent the input and evaluate input later. So we'd bind to (some or all) of keyup, keydown, change, blur, drag*. Then we'll catch normal types with key*, copy/paste with ctrl v with key* as well, drag* will get the dragged in text, and blur/change for paranoid sake. On that event check the byteLength after the insertion and if too long, chop down to the limit. That'll also remove/fix bug 29804. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
