Added text editor onload directions