Disable Visual Editor

This is a very simple WordPress plugin which disables the Visual Editor aka the Rich Text Editor aka TinyMCE for all users across the site.

If you also delete the “wp-includes/js/tinymce/” directory from the server, the visual editor option will disappear from all user’s profiles and it will be impossible for the visual editor to load. This step completes the removal of the visual editor.

Please note: You will need to remove this directory after every upgrade. Every time you upgrade WordPress this directory will be automatically reinstalled.

Download: Current Version: 1.0, Released 03/Sep/2007

Bookmark the permalink or share the shortlink.

13 Responses to Disable Visual Editor

  1. Russ Lipton says:

    Very cool but will you be updating for 2.3X?

  2. Callum says:

    To the best of my knowledge, the plugin should continue to work with version 2.3.x without any problems. If it’s not working for you, can you supply some more info so I can look into it?

  3. Russ Lipton says:

    OK, I slightly misunderstood the expected behavior, my bad.

    In 2.3, with the plug-in enabled, the visual editor remains active until the user next updates their profile by turning it off. Then, it remains off whether-or-not the visual editor checkbox is re-checked.

    I’m assuming that by removing the appropriate directory (as suggested), the visual editor will never be ‘on’ for any user …

    Thanks for the prompt reply!

  4. Callum says:

    The plugin disables the visual editor for all users as soon as any user updates their profile. So if you install the plugin and then update your own profile, the visual editor will be disabled for all users across the whole site.

  5. Russ Lipton says:

    Gotcha. Now, what about this?

    I deleted the tinyMCE directory. When I returned to the weblog and my admin account, I clicked ‘Your Profile’. The visual editor checkbox was gone. Good.

    Then I clicked the ‘edit’ button under Authors & Users for myself. The visual checkbox displays at the top. When I click it and try ‘update user’, I get this message:

    “You cannot remove the Edit Users capability from yourself.”

    When I do this for any other user, it tells me the user was updated, but the visual editor doesn’t activate – understandably ;-) .

    Anyway I suppose this is harmless anomalous behavior, but I thought I would report it.

  6. Voice of Reason G.k.W says:

    Thanks just what I’ve been looking for. I’d much rather write up everything in notepad any day or failing that and editor that doesn’t mess about with my formating. I’ve not used WordPress an awful lot so the information on how to disable the TinyMCE editor manually is also most appreciated.

    Thanks again

  7. Pingback: Tips For Using WordPress As A Content Management System (CMS)

  8. Pingback: WP Plugin Archive » Disable Visual Editor

  9. baron says:

    hi. Thanks for plugin

    perfect.

    regards

  10. Tenko says:

    Waah!! Thank you, thank you, thank you! I can’t even begin to tell you how wonderful this was! I integrated my board (2.3) with a forum and my sigle-user option was unavilable. In the other hand all my posts had php so there was no way I could edit them! I had to rewrite them over again! …until now!
    This works like a charm AND saves a lot of time with the new users with the same problem! It saved my life.

    Thanks again.

  11. Håvard says:

    Hi, does this plugin work for the 2.6.x releases?

  12. Callum says:

    @Håvard: No idea! Install it and please let me know how you get on. :)

  13. Pingback: Tips For Using WordPress As A Content Management System (CMS) | Mayer Consulting Services Ltd.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>