added functionality for removing the texteditor for specific templates