added in text editor and translate button