Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Turn paste as text on my default

/**
 * change tinymce's paste-as-text functionality
 */
function change_paste_as_text($mceInit, $editor_id){
	//turn off paste_text_use_dialog and turn on sticky (and default)
	//NB this has no effect on the browser's right-click context menu's paste!
	$mceInit['paste_text_use_dialog'] = false;
	$mceInit['paste_text_sticky'] = true;
	$mceInit['paste_text_sticky_default'] = true;
	return $mceInit;
}
add_filter('tiny_mce_before_init', 'change_paste_as_text', 1, 2);