perfect enterEditor