character added into text editor