Opened 17 years ago
Closed 17 years ago
#8506 closed defect (bug) (wontfix)
2.7 makes it impossible to completely remove TinyMCE
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | minor | Version: | 2.7 |
| Component: | UI | Keywords: | tinymce |
| Focuses: | Cc: |
Description
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)
#1
@
17 years ago
- Milestone changed from 2.7 to 2.8
- Owner set to markjaquith
- Status changed from new to assigned
#3
@
17 years ago
- Cc matt@… added
-1
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.
Let's get this fixed in 2.8 for sure.