Created
October 1, 2012 15:46
-
-
Save kentbrew/3812604 to your computer and use it in GitHub Desktop.
How to turn off TinyMCE in Wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In wordpress/wp-includes/class-wp-editor.php, look for the tinymce setting: | |
public static function parse_settings($editor_id, $settings) { | |
$set = wp_parse_args( $settings, array( | |
... | |
'tinymce' => true, // load TinyMCE, can be used to pass settings directly to TinyMCE using an array() | |
... | |
) ); | |
Set it to false and you should be good to go. |
ill tell you what's bad juju - the frigging tinymce editor arbitrarily blows away br tags and randomly inserts other things by default. wordpress is unusable to actually edit pages because of the horrible integration with this editor.
I'm reliably informed that this is a bad idea, because updates will overwrite it. Sorry about that, chief!
hello, is there a correct way to totally disable tnymce ? thank you.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bad juju