Archived Page

You're reading an archived page of the site. The content is probably out of date. Try the homepage for more current content.

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

Comments

Callum at 2007-10-30 22:09:59

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.

Russ Lipton at 2007-10-30 21:11:34

Very cool but will you be updating for 2.3X?

Callum at 2007-10-30 21:23:09

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?

Russ Lipton at 2007-10-30 21:32:42

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!

Russ Lipton at 2007-10-31 04:20:07

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.

Voice of Reason G.k.W at 2007-12-10 09:13:16

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

Tips For Using WordPress As A Content Management System (CMS) at 2007-12-10 16:50:21

[...] Disable Visual Editor [...]

WP Plugin Archive » Disable Visual Editor at 2008-03-19 05:31:36

[...] Disable Visual Editor WordPress Plugin von Callum Macdonald schaltet Blogweit für alle User den WYSIWYG Editor [...]

baron at 2008-05-13 18:15:00

hi. Thanks for plugin perfect. regards

Tips For Using WordPress As A Content Management System (CMS) | Mayer Consulting Services Ltd. at 2009-04-25 23:52:43

[...] Disable Visual Editor - WYSIWYG sounds great in theory, but stinks in practice. We found it quicker to disable autop and the visual editor. The visual editor caused so much grief we even gutted tinymce from the Wordpress install completely. [...]

Callum at 2008-10-28 07:29:42

@<a href="http://www.callum-macdonald.com/code/disable-visual-editor/#comment-31338" rel="nofollow">HÃ¥vard</a>: No idea! Install it and please let me know how you get on. :)

HÃ¥vard at 2008-10-28 06:31:42

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

Tenko at 2008-08-02 03:20:21

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.

Callum at 2010-12-10 15:45:44

Your suggestion only disables the plugin for one user. This plugin is designed to disable the visual editor for all users across the whole install.

Vivek Parmar at 2010-12-09 03:39:29

no need to install extra plugin you can easily disable visual editor in few minutes. login into your wp-admin panel and go to profile section from there you can easily disable this plugin

Anderson at 2012-02-26 18:55:44

Interesting plugin, it is helpful

wphtml at 2017-09-11 12:18:14

you can remove conflict plugin