You can toggle the editor on and off with E
when toggling level editor, don't reset player position