code: function( editor ) {
  			var commandName = 'pastetext';
  
  			editor.addCommand( commandName, pasteTextCmd );
  
  			editor.ui.addButton && editor.ui.addButton( 'PasteText', {
  				label: editor.lang.pastetext.button,
  				command: commandName,
  				toolbar: 'clipboard,40'
  			} );
  
  			if ( editor.config.forcePasteAsPlainText ) {
  				editor.on( 'beforePaste', function( evt ) {
  					// Do NOT overwrite if HTML format is explicitly requested.
  					// This allows pastefromword dominates over pastetext.
  					if ( evt.data.type != 'html' )
  						evt.data.type = 'text';
  				} );
  			}
  
  			editor.on( 'pasteState', function( evt ) {
  				editor.getCommand( commandName ).setState( evt.data );
  			} );
  		}
docs: %REMOVE_LINE_CORE%