Building the primary templates in the editor