improve the display of plain text,and add upload function