editor input method