I see on GitHub this post about Email templates - disable visual editor #1410
Can I assume that you have found the issue that if edit is made in the HTML tab, no saving yet but a switch to Visual tab to check the changes destroys the template? Removing the HTML tags, and rendering the templates useless to customer.
Or do I need to post an additional bug report in github?