Black Studio TinyMCE Widget
[resolved] change visual/html tabs by user role? (2 posts)

  1. kathompson
    Posted 3 years ago #

    Can you change the editor so that admin is the only user that can see the HTML tag? I want all other users to only be able to see the visual editor.


  2. Marco Chiesi
    Plugin Author

    Posted 3 years ago #

    By default the access to widget administration is enabled only for administrators, so users with less privileges cannot even access to the widget editor instances.
    You may change these permissions using wordpress hooks or specific plugins, but the ability to use both Visual and HTML editing modes is a native WordPress feature, so it may be not so easy to get rid of it without hacking WordPress core code.

    A quick and easy workaround may be to hide the Visual/HTML tab buttons via CSS:

    - For Black Studio TinyMCE Widgets editor instances:

    .editor_toggle_buttons {
      display: none;

    - For Post/Pages editor instances:

    .wp-editor-tools {
      display: none;

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Black Studio TinyMCE Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.