prototype text editor