Fire events for DOM events that the editor handles

Deprecate onKeyEvent and onDragEvent