Title: Non-admin users break inline CSS when submitting changes
Last modified: August 30, 2016

---

# Non-admin users break inline CSS when submitting changes

 *  [bkeschinger](https://wordpress.org/support/users/bkeschinger/)
 * (@bkeschinger)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/non-admin-users-break-inline-css-when-submitting-changes/)
 * If a user isn’t an admin (an editor), when they edit a page, it breaks all the
   inline CSS and removes any scripts or inline stylesheets from the page.
 * We have content writers and they shouldn’t need administrator privileges to change
   the contents of a page in code view through WordPress.
 * When they submit a page, it breaks the inline CSS in weird ways by removing all
   spaces and semicolons. If there is an inline stylesheet, after they submit it,
   the <style> tag will be removed so that the CSS will display as normal text on
   the page.

Viewing 1 replies (of 1 total)

 *  Thread Starter [bkeschinger](https://wordpress.org/support/users/bkeschinger/)
 * (@bkeschinger)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/non-admin-users-break-inline-css-when-submitting-changes/#post-6664727)
 * Update: I thought the issue was with TinyMCE, but the visual editor is disabled
   for every user. Regardless, I tried writing in exceptions to extended_valid_elements
   and valid_children arrays to fix this issue.
 * That didn’t work. I also tried installing a TinyMCE advanced configuration plugin
   and adding the exceptions there. Also didn’t work.
 * We have a multiple WordPress installation. If a user is an admin, they still 
   break the pages. BUT if they’re a “Super Admin” (It’s like a network admin over
   all sites) then they don’t break the page. Why would this be happening?

Viewing 1 replies (of 1 total)

The topic ‘Non-admin users break inline CSS when submitting changes’ is closed to
new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [bkeschinger](https://wordpress.org/support/users/bkeschinger/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/non-admin-users-break-inline-css-when-submitting-changes/#post-6664727)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
