• 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

    (@bkeschinger)

    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.