Dear Sir,
i wish to disable or minimize top some options in the rich text editor. i wish to remove :
link, video, image, font size, font colour
kindly check the attached image :

1 Answers
@Raja Gupta : Hi , in wordpress , to use the tinyMCE editor , we usually use wp_editor()
function.The code to get that editor gonna be like this :
wp_editor( $content, $id, array(
'wpautop' => false,
'media_buttons' => false,
'textarea_name' => 'textarea_name',
'textarea_rows' => 5,
'tinymce' => array(
// button will display in the editor
),
'quicktags' => false,
) );
so, to remove what you want , just find wp_editor()
function , and remove some option in tinymce
array such as link,image, ….
You can find all buttons here: http://www.tinymce.com/wiki.php/TinyMCE3x:Buttons/controls
Hope it help. Glad
Please login or Register to submit your answer