def onSave(self, sender):
        html = self.editor.getHTML()
        self.saveTemplateText(html)
Called when the user clicks save in the content editor.
dataset/ETHPy150Open anandology/pyjamas/addons/TemplatePanel.py/TemplatePanel.onSave