Make media_type and text_type editable