Make sure that the editor is focussed.