Editor Client: handle events when editing is in progress.

Even if there is no selection, we want to intercept (at least some)
keyboard events to allow editing textareas.