My app is used to edit email templates. As you probably know, emails can have a text AND html version. Below is the UI I came up with. My initial thought was 'only save what you can see', so when you click the save button (sauvegarder), only the currently selected view shall be saved (text or html). As the top part of the UI is static when you switch from text to html, I was wondering if the user will think he's saving everything when clicking that save button.
What would you expect when clicking the save button ?