Is it possible to remove the Visual \ HTML tabs from wp_editor and display only the TinyMCE editor?

Basically, right now, I’m using wp_editor to display the smallest possible TinyMCE editor I can – only one button is needed, italics.

Current TinyMCE instnace

What I’d like to do is make that smaller by removing the Visual \ HTML tabs. Our authors won’t ever need the HTML editor and the custom buttons I’m creating will only be accessible from the visual editor.

NOTE: For reasons found here, I can’t use the teeny argument of wp_editor.

Thanks in advance,

6

Just set ‘quicktags’ parameter of the settings array to false.

wp_editor('', 'some-id', array('quicktags' => false) );

Leave a Reply

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