Title: Editor keeps adding styling automatically
Last modified: August 21, 2016

---

# Editor keeps adding styling automatically

 *  [Wonderful Wanderings](https://wordpress.org/support/users/wonderful-wanderings/)
 * (@wonderful-wanderings)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/)
 * Hi,
 * Very often when I save a post as draft, publish it or update it, the editor automatically
   adds styling by itself.
    The styling added is usually the same: <span style=”
   font-size: 15px; line-height: 1.4em;”></span>
 * Why is this? It’s very annoying because I often schedule my posts to be published,
   but I can never be sure if they will get published the way I want them to be 
   published as styling is automatically added…
 * Thanks

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

 *  Thread Starter [Wonderful Wanderings](https://wordpress.org/support/users/wonderful-wanderings/)
 * (@wonderful-wanderings)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802712)
 * PS Yes, I do switch between the visual and the text editor but frankly I don’t
   think this should cause any problems, otherwise, why is there an option to switch
   between the two?
 *  [kira002](https://wordpress.org/support/users/kira002/)
 * (@kira002)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802719)
 * Are you writing your posts in other software (Word, Google Docs, etc.) then copying
   and pasting into the visual editor? If so, then that software is adding the style
   elements. Try pasting into the text editor instead, to strip those elements, 
   then styling the post how you want it.
 *  Thread Starter [Wonderful Wanderings](https://wordpress.org/support/users/wonderful-wanderings/)
 * (@wonderful-wanderings)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802761)
 * Nopes, it happens when I work directly in the editor.
 * For instance I had a post that was already published. When editing it I removed
   an h2-subtitle and used ‘delete’ to move the paragraph below up. When saved that
   paragraph was suddenly wrapped in the aforementioned span tag.
 *  [kira002](https://wordpress.org/support/users/kira002/)
 * (@kira002)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802763)
 * Sounds like maybe your WP theme is trying to style the posts for you.
 *  Thread Starter [Wonderful Wanderings](https://wordpress.org/support/users/wonderful-wanderings/)
 * (@wonderful-wanderings)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802764)
 * I’ve already checked with my theme support and they say it’s totally unrelated
   to them…
 * I know see the span tags have even been added in between words. I really don’t
   understand it. I’m going through more than 300 posts right now to manually correct
   those affected.
    Not cool at all.
 *  [Joshua Fredrickson](https://wordpress.org/support/users/joshf/)
 * (@joshf)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802846)
 * Can confirm. This has been happening for a while on multiple sites (all currently
   running 3.8.2 or higher). Editor randomly wraps certain text with:
 * `<span style="line-height: 1.5em;"></span>`
 * I haven’t been able to track down when exactly it adds these tags, but I always
   paste plain text into the Text Editor and then switch to Visual to edit/format.
   When I switch back to Text to adjust something, I find the new `<span>` tags 
   added.

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

The topic ‘Editor keeps adding styling automatically’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Joshua Fredrickson](https://wordpress.org/support/users/joshf/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/editor-keeps-adding-styling-automatically/#post-4802846)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
