Comment

Peter Bengtsson

I vaguely remember that IE has a proprietary "onpaste" event handler but I've never dug into it much. Probably because I rarely care about IE.

However, pasting here appears to work splendid in FF 4 and Chrome.

Parent comment

iivvoo

It has the same bug/issue that code that I wrote has: it doesn't handle paste events which is tricky but not impossible to solve. Never got to it, though.

Replies

Anonymous

Have you tried on linux? The specific middle-button-paste isn't registered as a keypress (ctrl/alt-v is)

Peter Bengtsson

Haven't. I was going to say it could be solved with a onblur or onchange but I suspect that it could clash if the user pastes with the middle button then immediately clicks a submit button.

Fortunately this plugin is just a visual luxury.