added text editing