Fixed havePack and text editor template