How to handle paste event in CodeMirror script?

There's a chance it's overridden somewhere by the app. Maybe we could expose this. What are you trying to do?