Add index and string representation to EditorType