Added template editing using tinymce.