Make WordPress Core

Opened 7 years ago

Closed 6 years ago

#8506 closed defect (bug) (wontfix)

2.7 makes it impossible to completely remove TinyMCE

Reported by: futurix Owned by: markjaquith
Milestone: Priority: normal
Severity: minor Version: 2.7
Component: UI Keywords: tinymce
Focuses: Cc:


In all older versions of WordPress deleting wp-includes/js/tinymce folder would completely hide all mentions of visual editor for WordPress GUI. Starting from betas of 2.7 however it does not remove the editor tabs - both "Visual" and "HTML" are visible, even though clicking on them does nothing.

Change History (4)

comment:1 @markjaquith7 years ago

  • Milestone changed from 2.7 to 2.8
  • Owner set to markjaquith
  • Status changed from new to assigned

Let's get this fixed in 2.8 for sure.

comment:2 @janeforshort7 years ago

  • Severity changed from normal to minor


comment:3 @sivel7 years ago

  • Cc matt@… added


I'm not sure I agree. I think removing the files to disable TinyMCE is not one of the more elegant solutions to achieve this.

One line of code in a plugin or a themes functions.php can effectively disable TinyMCE without modifying the core code by way of removing files.

add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) );

I have actually written a plugin called 'Easy Disable Visual Editor' which has been in the wp.org repos for some time now that achieves this with little to no effort. Albeit this does not remove the option from showing in the users profile. Perhaps a filter can be added to make this a more seamless global disabling. I still, in no way, agree that removing the files is the way to go to disable TinyMCE.

comment:4 @ryan6 years ago

  • Milestone 2.8 deleted
  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.