add pause key to editor