Closed jonsgreen closed 2 years ago
@adarsh I agree totally. I had the same idea when I realized that I actually had broken switching between the editors with my initial fix which unfortunately surfaced for us during the demo.
I have corrected the code and I have now also added an integration spec that ensures that both content and indenting is not lost switching between editors.
Reason for Change
This was an issue that Devon pointed out where all indenting was lost on the html when switching back to CodeMirror editor from tinyMCE editor.