Add cut, copy and paste buttons to the tinymce editor

Adding this snippet to the functions.php of your wordpress theme will enable 3 new buttons within the TinyMCE editor "cut, copy and paste".

function enable_more_buttons($buttons) {
  $buttons[] = 'copy';
  $buttons[] = 'cut';
  $buttons[] = 'paste';
 return $buttons;

add_filter("mce_buttons_2", "enable_more_buttons");


As pointed out by Myst1010 on another post you could use this simplified method to enable tinyMCE buttons.

function enable_more_buttons($buttons) {
  $buttons[] = 'copy,cut,paste';
 return $buttons;

add_filter("mce_buttons_2", "enable_more_buttons");

Comments  Leave a Reply

  1. (Translated by program)
    These buttons I did not know, great functionality.
    And thanks for mentioning my suggestion.
    His tricks are great and I wish much success to your blog.

    1. no problem Myst1010, glad you like it.

  2. Elisio Leonardo March 20, 2011 at 7:01 pm

    Hi Kevin, your snippets are really knows and i will love to show it to my users…

    I will always put a link to the original source:this blog!

    1. Elisio Leonardo cool glad you like the site and a link back would be fantastic.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!