Long story short - I have an editable
You can use a 'keydown' event - it will capture shift key presses so works for pasting, as well as the delete key.
If you need to detect whether the content has changed, store the old content and compare when the event is fired.
To capture paste by mouse, you'll probably need to compare current content to old content periodically based on a timer. You could reduce some overhead by activating the timer on focus, and stopping it on blur.