Title: Saving as draft clears all HTML data
Last modified: October 6, 2017

---

# Saving as draft clears all HTML data

 *  [dzarelli](https://wordpress.org/support/users/dzarelli/)
 * (@dzarelli)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/)
 * Hello –
 * We’ve been using this plugin for quite some time without issue, however, users
   are reporting that whenever they try to add a new post and select the HTML editor,
   it clears all HTML data on the page when they click “save draft” I’ve confirmed
   this also happens to me, but only for HTML editing (Text and Visual work as expected).
   Any ideas what may be causing this behavior? Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [mortalis](https://wordpress.org/support/users/mortalis/)
 * (@mortalis)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/#post-9569921)
 * Hi. Please tell me exact steps to reproduce it.
    I tried to add some text on 
   the HTML tab and clicked Save Draft. The added text is not saved but the previous
   content is not removed. This is expected behaviour according to the plugin Description,
   section Usage.4. The content should be synchronized with the HTML tab content.
   So you should first switch to the Visual tab before saving.
 *  Thread Starter [dzarelli](https://wordpress.org/support/users/dzarelli/)
 * (@dzarelli)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/#post-9570382)
 * I have created a video and uploaded it to google drive. you should be able to
   view it. See the following link – [https://drive.google.com/file/d/0B82OAGd2io2RTWJBaXoyeE5WSXc/view](https://drive.google.com/file/d/0B82OAGd2io2RTWJBaXoyeE5WSXc/view)
   
   This should show you what I mean. Thanks again for the assistance!
 *  Plugin Author [mortalis](https://wordpress.org/support/users/mortalis/)
 * (@mortalis)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/#post-9572803)
 * This is the case of the mentioned Description, section Usage.4. For now you should
   save only from the Visual tab. Cause what you changed in the HTML tab is temporary
   before you switch to the Visual. If you click Preview it doesn’t show the modified
   content either.
    If I have some time later I’ll try to fix this part (at the 
   moment I don’t remember why it was designed this way) or disable Save/Publish
   buttons when the user is on the HTML tab to avoid this type of confusion. Thanks.
 *  Thread Starter [dzarelli](https://wordpress.org/support/users/dzarelli/)
 * (@dzarelli)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/#post-9574038)
 * Thanks for the response. If this has always been the case with this plugin, I’m
   not sure why so many users are requesting help at this time. I will pass on the
   info you provided and see if that resolves their issues. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Saving as draft clears all HTML data’ is closed to new replies.

 * ![](https://ps.w.org/html-post-editor-new/assets/icon-128x128.png?rev=1131215)
 * [HTML Post Editor](https://wordpress.org/plugins/html-post-editor-new/)
 * [Support Threads](https://wordpress.org/support/plugin/html-post-editor-new/)
 * [Active Topics](https://wordpress.org/support/plugin/html-post-editor-new/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html-post-editor-new/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html-post-editor-new/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dzarelli](https://wordpress.org/support/users/dzarelli/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/saving-as-draft-clears-all-html-data/#post-9574038)
 * Status: not resolved