Fix WordPress editor from deleting code

I’ve been pulling my hair out for the past hour on this… It seemed every time I got my post…

I’ve been pulling my hair out for the past hour on this… It seemed every time I got my post just right in the HTML editor then switched back to the Visual editor, all of my code between the shortcode tags we’re gone! I kept having to go back into my Revisions section and