How to add onPaste event on directEditing stuff

I want to trigger the onPaste Event when user dbclick the model on one task and try to paste the text from somewhere else. I just didn’t find appropriate place doing this. I think it should have relation with directEditing.


The onPaste event is already fired every time you paste content to the browser. The right place to implement a listener depends on what exactly you want to achieve. Could you elaborate a bit what you want to do?