wp_editor() function and tinyMCE buttons
-
Sorry for cross-posting, I accidentally posted in the wrong forum originally.
Hi guys,
I wish to use the tinyMCE editor within a Meta Box, and it is working brilliantly using the wp_editor function.
However, I want to only offer a subset of buttons. This is easily achieved in quicktags, but I cannot seem to figure our how to do it for tinyMCE.
My settings array is below
$tinyMCE_settings = array( "teeny" => true, "media_buttons" => false, "wpautop" => true, "textarea_rows" => 5, "quicktags" => array( "buttons" => "em,strong,link" ) );
There is a filter for mce_buttons, but how can I target a particular tinyMCE instance?
Alternatively, can I use a syntax similar to the quicktags option above?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_editor() function and tinyMCE buttons’ is closed to new replies.