add string-edit mode