Properly prepend keydown event to the editor's eventqueue.