Fix bug: press return key when editor disable