text editor example