Title: WP Edit not saving changes
Last modified: August 22, 2016

---

# WP Edit not saving changes

 *  Resolved [wpu9000](https://wordpress.org/support/users/wpu9000/)
 * (@wpu9000)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wp-edit-not-saving-changes/)
 * When I try to add code to the text/html editor it is lost when I switch to visual
   view.
    For example I tried to add: <br style=”clear:both;” /> but it will not
   stay. I added it inside div’s <div> <br style=”clear:both;” /> </div> but it 
   was cleared again when I switched to visual view, the div’s where left though.
   It is the same for <p> tags…
 * [https://wordpress.org/plugins/wp-edit/](https://wordpress.org/plugins/wp-edit/)

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

 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wp-edit-not-saving-changes/#post-5315985)
 * WordPress includes many ‘behind the scenes’ functions which run whenever the 
   editor is switched between views (text and visual); or whenever the content is
   saved/published.
 * One such function is the [wpautop()](http://codex.wordpress.org/Function_Reference/wpautop)
   filter. This is the one that ‘automatically’ creates p tags. This may or may 
   not be desired.
 * What exactly are you wanting to accomplish?
 *  Thread Starter [wpu9000](https://wordpress.org/support/users/wpu9000/)
 * (@wpu9000)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wp-edit-not-saving-changes/#post-5315990)
 * Hello,
    I have been reading about the wpautop filter, so I understand now this
   is not really anything to do with WP Edit. What I really want is for whatever
   html I type into the text side of the editor to stay exactly as I have typed.
   I think I will try disabling wpautop for a while and see if that is better.
 * thanks for pointing me in the right direction.
 *  Plugin Author [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/wp-edit-not-saving-changes/#post-5316025)
 * No worries.
 * Instead of:
    `<div> <br style="clear:both;" /> </div>` You could try this: `<
   div style="clear:both;margin-top:20px;"></div>` Which would still clear the floats,
   and also add a margin-top.. replicating some line breaks.
 * _(Gonna mark this topic as ‘resolved’. Feel free to change back if necessary)_

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

The topic ‘WP Edit not saving changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-edit_ffffff.svg)
 * [WP Edit](https://wordpress.org/plugins/wp-edit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-edit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-edit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-edit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-edit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-edit/reviews/)

## Tags

 * [editor](https://wordpress.org/support/topic-tag/editor/)

 * 3 replies
 * 2 participants
 * Last reply from: [Josh](https://wordpress.org/support/users/josh401/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/wp-edit-not-saving-changes/#post-5316025)
 * Status: resolved