Keyboard event only if the Editor has Focus
same for keyup