WordPress.org

Support

Support » Plugins and Hacks » TinyMCE Advanced » [Resolved] Editors and list style options

[Resolved] Editors and list style options

  • I’ve checked the “List Style Options” checkbox in the settings, and they work just fine for Administrators. However, if an Editor uses them (they can see them, and they get applied in the editor), they are filtered out after saving/publishing. Is there a setting I need to apply to allow Editors to use this function?

    https://wordpress.org/plugins/tinymce-advanced/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Turns out that the problem was the wp_kses filters that are applied to everyone except Administrators. These filters have a set of allowed css style attributes, but strip everything else out. After some searching around, I found that there is a safe_style_css hook that allows you to add to the array of allowed style attributes. I used that hook to add “list-style-type” to the allowed attributes, and now Editors can use this function properly.

    Plugin Author Andrew Ozz

    @azaozz

    Yeah, on non-multisite only admins and editors can post “unfiltered html”. On multisite only superadmins can.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Editors and list style options’ is closed to new replies.
Skip to toolbar