Title: Code disappears when moving from visual editor to code view
Last modified: August 19, 2016

---

# Code disappears when moving from visual editor to code view

 *  [leanda](https://wordpress.org/support/users/leanda/)
 * (@leanda)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/code-disappears-when-moving-from-visual-editor-to-code-view/)
 * Hi
 * I’m building a site for a client which will involve the client posting google
   maps code and some code for the mBox slideshow when they create new posts.
 * If I’m using the code view all is fine, but I really want them to be able to 
   switch from one view to the other. The problem I’m having is that WordPress deletes
   the html for the maps etc. when I go back to visual mode to edit the post further
   and upload images.
 * Is there anyway around this? Am I doing something wrong?
 * Thanks,
    Leanda

Viewing 1 replies (of 1 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/code-disappears-when-moving-from-visual-editor-to-code-view/#post-758493)
 * > I’m building a site for a client

Viewing 1 replies (of 1 total)

The topic ‘Code disappears when moving from visual editor to code view’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/code-disappears-when-moving-from-visual-editor-to-code-view/#post-758493)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
