fix the issue where the body of the template is not showing up in the editor