text field input with medium editor