formatted and edit text content