make the editor template embeded