Give editor tabIndex for keypress scoping