adding text editor spawn