Title: WP adding extra code after image uploads.
Last modified: August 20, 2016

---

# WP adding extra code after image uploads.

 *  [databell96](https://wordpress.org/support/users/databell96/)
 * (@databell96)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wp-adding-extra-code-after-image-uploads/)
 * I’ve had this issue before where WordPress’ editor would insert extra HTML tags
   into my code and thus screw up my layout a bit. I thought switching WTSIWYG editors
   from TinyMCE to CKEditor would change that and sometimes it does, but in this
   example, it’s not. I uploaded an image and even though I didn’t tell it to, it
   added a 
    tag (and sometimes a </p> tag) after the image even though I don’t 
   want it. So I go into the Text portion of CKEditor, the  isn’t there so I just
   hit delete to essentially remove all white space in that area. Still the  persists
   after the img even after refreshing the cache. What can I do in this situation?

The topic ‘WP adding extra code after image uploads.’ is closed to new replies.

## Tags

 * [<br>](https://wordpress.org/support/topic-tag/br/)
 * [Ckeditor](https://wordpress.org/support/topic-tag/ckeditor/)
 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [img](https://wordpress.org/support/topic-tag/img/)
 * [line-break](https://wordpress.org/support/topic-tag/line-break/)
 * [tinymce](https://wordpress.org/support/topic-tag/tinymce/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [databell96](https://wordpress.org/support/users/databell96/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/wp-adding-extra-code-after-image-uploads/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
