Is there a way to call wp_editor
for a meta box using just the text/HTML mode without TinyMCE. I think the deprecated function pre-3.3 did this but I’m not sure how its done now.
Leave a Reply
You must be logged in to post a comment.
Is there a way to call wp_editor
for a meta box using just the text/HTML mode without TinyMCE. I think the deprecated function pre-3.3 did this but I’m not sure how its done now.
You must be logged in to post a comment.
Yes, it’s possible to set it to false. The full parameters list is in the file
wp-includes/class-wp-editor.php
.These are the default values for the
$settings
array when callingwp_editor( $content, $editor_id, $settings );
:Check the source code for details of each parameter. I’ve just made a small test with a meta box and works ok.